forked from MirrorHub/synapse
Fix check for empty room update
This commit is contained in:
parent
4d9dd9bdc0
commit
cc42d3f907
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue