summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-09-08 14:44:36 +0100
committerErik Johnston <erik@matrix.org>2017-09-08 14:44:36 +0100
commit69ef4987a68d66093007ca11886e25139ea0c970 (patch)
tree9794dea29cadedb4f8ec5ab1fded01df274dde22 /synapse/handlers/sync.py
parentSend down device list change notif when member leaves/rejoins room (diff)
downloadsynapse-69ef4987a68d66093007ca11886e25139ea0c970.tar.xz
Add left section to /keys/changes
Diffstat (limited to '')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 4ee6109cf8..9ae7fbc797 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -949,7 +949,7 @@ class SyncHandler(object):
         newly_joined_rooms = []
         room_entries = []
         invited = []
-        for room_id, events in mem_change_events_by_room_id.items():
+        for room_id, events in mem_change_events_by_room_id.iteritems():
             non_joins = [e for e in events if e.membership != Membership.JOIN]
             has_join = len(non_joins) != len(events)