0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-01 04:09:07 +01:00

Fix check for empty room update

This commit is contained in:
Mark Haines 2015-01-29 16:27:38 +00:00
parent 4d9dd9bdc0
commit cc42d3f907

View file

@ -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: