mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-22 10:15:33 +00:00
![Richard van der Hoff](/assets/img/avatar_default.png)
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.
3 lines
64 B
Plaintext
3 lines
64 B
Plaintext
Improve sanity-checking when receiving events over federation.
|
|
|