Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix exceptions when attempting to backfill
Browse files Browse the repository at this point in the history
Fixes #6575
  • Loading branch information
richvdh committed Dec 19, 2019
1 parent e156c86 commit 1f8070c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6576.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix errors when attempting to backfill rooms over federation.
5 changes: 4 additions & 1 deletion synapse/handlers/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,10 @@ def backfill(self, dest, room_id, limit, extremities):
events_to_state = {}
for e_id in edges:
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({s.event_id: s for s in state})
Expand Down

0 comments on commit 1f8070c

Please sign in to comment.