Skip to content
Snippets Groups Projects
Unverified Commit 03d3792f authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Fix exceptions when attempting to backfill (#6576)

Fixes #6575
parent e156c86a
No related branches found
No related tags found
No related merge requests found
Fix errors when attempting to backfill rooms over federation.
...@@ -797,7 +797,10 @@ class FederationHandler(BaseHandler): ...@@ -797,7 +797,10 @@ class FederationHandler(BaseHandler):
events_to_state = {} events_to_state = {}
for e_id in edges: for e_id in edges:
state, auth = yield self._get_state_for_room( state, auth = yield self._get_state_for_room(
destination=dest, room_id=room_id, event_id=e_id destination=dest,
room_id=room_id,
event_id=e_id,
include_event_in_state=False,
) )
auth_events.update({a.event_id: a for a in auth}) auth_events.update({a.event_id: a for a in auth})
auth_events.update({s.event_id: s for s in state}) auth_events.update({s.event_id: s for s in state})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment