summary refs log tree commit diff
path: root/synapse/handlers/device.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-09-07 15:08:39 +0100
committerErik Johnston <erik@matrix.org>2017-09-07 15:08:39 +0100
commit53cc8ad35a269723478a1ee1a9a96d510a7b044f (patch)
tree36c8d8631ace5cc0ed871518da543a944b135404 /synapse/handlers/device.py
parentMerge pull request #2439 from matrix-org/rav/tox_tweaks (diff)
downloadsynapse-53cc8ad35a269723478a1ee1a9a96d510a7b044f.tar.xz
Send down device list change notif when member leaves/rejoins room
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r--synapse/handlers/device.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index ed60d494ff..be120b2f34 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -320,7 +320,7 @@ class DeviceHandler(BaseHandler):
 
                 # check if this member has changed since any of the extremities
                 # at the stream_ordering, and add them to the list if so.
-                for state_dict in prev_state_ids.values():
+                for state_dict in prev_state_ids.itervalues():
                     prev_event_id = state_dict.get(key, None)
                     if not prev_event_id or prev_event_id != event_id:
                         possibly_changed.add(state_key)