diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-13 13:21:04 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-17 13:22:34 +0000 |
commit | e6153e1bd10529b28b69820decbc039b9d6a1f27 (patch) | |
tree | 563252f7303a8854418ee5de356d3de8f13b2f45 /synapse/handlers | |
parent | Optimise state resolution (diff) | |
download | synapse-e6153e1bd10529b28b69820decbc039b9d6a1f27.tar.xz |
Fix couple of federation state bugs
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index ea89e0cf2d..ced5646e9a 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -596,7 +596,7 @@ class FederationHandler(BaseHandler): preserve_fn(self.state_handler.resolve_state_groups)(room_id, [e]) for e in event_ids ])) - states = dict(zip(event_ids, [s[1] for s in states])) + states = dict(zip(event_ids, [s.state for s in states])) state_map = yield self.store.get_events( [e_id for ids in states.values() for e_id in ids], |