Skip to content
Snippets Groups Projects
Commit cc42d3f9 authored by Mark Haines's avatar Mark Haines
Browse files

Fix check for empty room update

parent 4d9dd9bd
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@ class SyncHandler(BaseHandler):
limited=False,
typing=typing_by_room.get(room_id, None)
)
if room_sync is not None:
if room_sync:
rooms.append(room_sync)
else:
for room_id in room_ids:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment