diff options
author | Erik Johnston <erik@matrix.org> | 2016-12-14 13:49:54 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-12-14 13:49:54 +0000 |
commit | b8255eba2692716ad8456ea96c6d5a8d06a98e80 (patch) | |
tree | 37aaa239e97d0b70de33eab2b9b9ba1690153c30 /synapse | |
parent | Fix /backfill returning events it shouldn't (diff) | |
download | synapse-b8255eba2692716ad8456ea96c6d5a8d06a98e80.tar.xz |
Comment
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/federation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 8f444da871..1d07e4d02b 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -252,6 +252,8 @@ class FederationHandler(BaseHandler): except: return False + # Parses mapping `event_id -> (type, state_key) -> state event_id` + # to get all state ids that we're interested in. event_map = yield self.store.get_events([ e_id for key_to_eid in event_to_state_ids.values() |