summary refs log tree commit diff
path: root/demo
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-12-12 12:57:45 +0000
committerGitHub <noreply@github.com>2019-12-12 12:57:45 +0000
commit25f12443298f4995613a475ac304e84d50317e18 (patch)
tree3c1539f3ab5c7dd8e5dc4d10bfb60708f8eaed93 /demo
parentMerge pull request #6511 from matrix-org/erikj/remove_db_config_from_apps (diff)
downloadsynapse-25f12443298f4995613a475ac304e84d50317e18.tar.xz
Check the room_id of events when fetching room state/auth (#6524)
When we request the state/auth_events to populate a backwards extremity (on
backfill or in the case of missing events in a transaction push), we should
check that the returned events are in the right room rather than blindly using
them in the room state or auth chain.

Given that _get_events_from_store_or_dest takes a room_id, it seems clear that
it should be sanity-checking the room_id of the requested events, so let's do
it there.
Diffstat (limited to 'demo')
0 files changed, 0 insertions, 0 deletions