summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-03-13 23:46:45 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-03-13 23:46:45 +0000
commitc9d72e4571752554dfe01d755ae23f55c5f84ade (patch)
tree4e1a26ea931ad13f9ce7f34599b68996a02b0551
parentmake it work (diff)
downloadsynapse-c9d72e4571752554dfe01d755ae23f55c5f84ade.tar.xz
oops
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 c05e3d107f..887624c431 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -542,7 +542,7 @@ class SyncHandler(object):
                 if filter_members:
                     member_state_ids = {
                         t: state_at_timeline_start[t]
-                        for t in state_ids if t[0] == EventTypes.Member
+                        for t in state_at_timeline_start if t[0] == EventTypes.Member
                     }
 
                 timeline_state = {