diff options
author | Erik Johnston <erik@matrix.org> | 2015-09-11 14:32:31 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-09-17 10:26:03 +0100 |
commit | 54e688277ad86b95345c3e8d1306c7e08b0ed484 (patch) | |
tree | 34868ad8f5a1625a66c912d91954c62e17dc7be8 /synapse | |
parent | Capture err (diff) | |
download | synapse-54e688277ad86b95345c3e8d1306c7e08b0ed484.tar.xz |
Also persist state
Diffstat (limited to 'synapse')
-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 fd8a86ea99..85fdf94d06 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -1043,7 +1043,7 @@ class FederationHandler(BaseHandler): yield self.store.persist_events( [ (e, events_to_context[e.event_id]) - for e in auth_events + for e in itertools.chain(auth_events, state) ], is_new_state=False, ) |