Also persist state

This commit is contained in:
Erik Johnston 2015-09-11 14:32:31 +01:00
parent 3a01901d6c
commit 54e688277a

View File

@ -1043,7 +1043,7 @@ class FederationHandler(BaseHandler):
yield self.store.persist_events( yield self.store.persist_events(
[ [
(e, events_to_context[e.event_id]) (e, events_to_context[e.event_id])
for e in auth_events for e in itertools.chain(auth_events, state)
], ],
is_new_state=False, is_new_state=False,
) )