sanity-checking for events used in state res (#6531)

When we perform state resolution, check that all of the events involved are in
the right room.
This commit is contained in:
Richard van der Hoff 2019-12-13 12:55:32 +00:00 committed by Richard van der Hoff
parent 6577f2d887
commit 83895316d4
6 changed files with 128 additions and 43 deletions

View file

@ -397,6 +397,7 @@ class FederationHandler(BaseHandler):
event_map[x.event_id] = x
state_map = yield resolve_events_with_store(
room_id,
room_version,
state_maps,
event_map,