mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
parent
e156c86a7f
commit
03d3792f3c
2 changed files with 5 additions and 1 deletions
1
changelog.d/6576.bugfix
Normal file
1
changelog.d/6576.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix errors when attempting to backfill rooms over federation.
|
|
@ -797,7 +797,10 @@ class FederationHandler(BaseHandler):
|
|||
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})
|
||||
|
|
Loading…
Reference in a new issue