Richard van der Hoff 35bbe4ca79 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.
2019-12-16 13:47:07 +00:00
..
2019-09-11 13:54:50 +01:00
2019-11-01 02:43:24 +11:00
2019-12-05 17:58:25 +00:00
2019-12-04 13:03:46 +05:30
2019-09-20 11:20:02 +01:00
2019-11-01 02:43:24 +11:00
2019-11-01 02:43:24 +11:00