mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-06 22:59:22 +01:00
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,
|
limited=False,
|
||||||
typing=typing_by_room.get(room_id, None)
|
typing=typing_by_room.get(room_id, None)
|
||||||
)
|
)
|
||||||
if room_sync is not None:
|
if room_sync:
|
||||||
rooms.append(room_sync)
|
rooms.append(room_sync)
|
||||||
else:
|
else:
|
||||||
for room_id in room_ids:
|
for room_id in room_ids:
|
||||||
|
|
Loading…
Reference in a new issue