summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-03-11 20:10:25 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-03-11 20:10:25 +0000
commit87133652657c5073616419b0afc533eac6ae6750 (patch)
tree379ab0b5d97d20e0ec0a70ead8132d2a13c408f2 /synapse/handlers/sync.py
parentWIP experiment in lazyloading room members (diff)
downloadsynapse-87133652657c5073616419b0afc533eac6ae6750.tar.xz
typos
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index 809e9fece9..fa730ca760 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -471,13 +471,13 @@ class SyncHandler(object): if filter_members: # We only request state for the members needed to display the # timeline: - types = ( + types = [ (EventTypes.Member, state_key) for state_key in set( event.sender # FIXME: we also care about targets etc. for event in batch.events ) - ) + ] types.append((None, None)) # don't just filter to room members # TODO: we should opportunistically deduplicate these members too