summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-09-15 09:56:54 +0100
committerErik Johnston <erik@matrix.org>2017-09-15 09:56:54 +0100
commit4a94eb3ea40a3c1bee5916d57f5c72bb75c28cf3 (patch)
treeaf4aa3c29e6e3c20ecf9e5df0cc2a7180c76b20c
parentActually hook leave notifs up (diff)
downloadsynapse-4a94eb3ea40a3c1bee5916d57f5c72bb75c28cf3.tar.xz
Fix typo
Diffstat (limited to '')
-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 ac9868d810..0d6750f0e4 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -338,7 +338,7 @@ class DeviceHandler(BaseHandler):
                         etype, state_key = key
                         if etype != EventTypes.Member:
                             continue
-                        possibly_changed.append(state_key)
+                        possibly_changed.add(state_key)
                     break
 
             # If there has been any change in membership, include them in the