diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-01-29 16:27:38 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-01-29 16:27:38 +0000 |
commit | cc42d3f9076db1815a989bab7ef6004796b31b3c (patch) | |
tree | 417ee6ff71712132db101850b2a80d099ca327f2 /synapse | |
parent | Fix v2 initial sync (diff) | |
download | synapse-cc42d3f9076db1815a989bab7ef6004796b31b3c.tar.xz |
Fix check for empty room update
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index cfe2944917..ec8beb4c6a 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -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: |