diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-12-12 12:57:45 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-12-16 13:47:07 +0000 |
commit | 35bbe4ca794d7b7b1c5b008211a377f54deecb5d (patch) | |
tree | ab7b09a6bb6398bdc32381f64fdeba8f1dc87342 /scripts | |
parent | Add `include_event_in_state` to _get_state_for_room (#6521) (diff) | |
download | synapse-35bbe4ca794d7b7b1c5b008211a377f54deecb5d.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 'scripts')
0 files changed, 0 insertions, 0 deletions