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 GitHub
parent 971a0702b5
commit 1da15f05f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 128 additions and 43 deletions

View file

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