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
1 changed files with 1 additions and 1 deletions

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: