summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-05-18 11:30:01 +0100
committerErik Johnston <erik@matrix.org>2016-05-18 11:30:01 +0100
commit39182c3594fc044c8ebe7b860d605349dbb9c667 (patch)
tree376791c04ac4c426ad3be8249e38ff46fefe54e1 /synapse/handlers/sync.py
parentFilter before ordering (diff)
downloadsynapse-39182c3594fc044c8ebe7b860d605349dbb9c667.tar.xz
Typo
Diffstat (limited to 'synapse/handlers/sync.py')
-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 426a93b8dd..fc432e2a52 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -235,7 +235,7 @@ class SyncHandler(BaseHandler): while len(to_return) < limit and len(queued_events) > 0: to_fetch = queued_events[:limit - len(to_return)] event_to_q = { - e["event_id"]: (room_id, e) for room_id, e in to_fetch.items() + e["event_id"]: (room_id, e) for room_id, e in to_fetch if "event_id" in e }