diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-12-20 09:55:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 09:55:45 +0000 |
commit | 03d3792f3c7978ecc057cab19ff95c8310403665 (patch) | |
tree | 328eee4db55b1175d6b880723366f3d74abc5ecd /synapse/handlers/federation.py | |
parent | too many parens (diff) | |
download | synapse-03d3792f3c7978ecc057cab19ff95c8310403665.tar.xz |
Fix exceptions when attempting to backfill (#6576)
Fixes #6575
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index abe02907b9..6fb453ce60 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -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}) |