summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-09-11 14:32:31 +0100
committerErik Johnston <erik@matrix.org>2015-09-17 10:26:03 +0100
commit54e688277ad86b95345c3e8d1306c7e08b0ed484 (patch)
tree34868ad8f5a1625a66c912d91954c62e17dc7be8 /synapse
parentCapture err (diff)
downloadsynapse-54e688277ad86b95345c3e8d1306c7e08b0ed484.tar.xz
Also persist state
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/federation.py2
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,
         )