synapse-product/synapse/handlers
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
..
ui_auth Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
__init__.py Fix registration on workers (#4682) 2019-02-20 18:47:31 +11:00
_base.py Fix comments 2019-09-11 13:54:50 +01:00
account_data.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
account_validity.py Allow Synapse to send registration emails + choose Synapse or an external server to handle 3pid validation (#5987) 2019-09-06 11:35:28 +01:00
acme_issuing_service.py Allow configuration of the path used for ACME account keys. 2019-06-24 13:51:22 +01:00
acme.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
admin.py Replace /admin/v1/users_paginate endpoint with /admin/v2/users (#5925) 2019-12-05 18:12:23 +00:00
appservice.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
auth.py Merge pull request #6335 from matrix-org/erikj/rc_login_cleanups 2019-11-20 09:52:38 +00:00
deactivate_account.py Remove local threepids on account deactivation (#6426) 2019-11-28 10:40:42 +00:00
device.py Merge branch 'develop' into cross-signing_federation 2019-10-31 22:38:21 -04:00
devicemessage.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
directory.py Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
e2e_keys.py Back out perf regression from get_cross_signing_keys_from_cache. (#6494) 2019-12-09 13:59:27 +00:00
e2e_room_keys.py add etag and count to key backup endpoints (#5858) 2019-11-27 16:14:44 -05:00
events.py Port SyncHandler to async/await 2019-12-05 17:58:25 +00:00
federation.py Check the room_id of events when fetching room state/auth (#6524) 2019-12-16 13:47:07 +00:00
groups_local.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
identity.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
initial_sync.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
message.py Pull out room_invite_state_types config option once. 2019-12-09 11:52:19 +00:00
pagination.py Merge branch 'develop' into babolivier/message_retention 2019-11-26 17:53:57 +00:00
presence.py Fix presence timeouts when synchrotron restarts. (#6212) 2019-10-18 06:42:26 +01:00
profile.py Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
read_marker.py Port receipt and read markers to async/wait 2019-10-29 15:08:22 +00:00
receipts.py Port receipt and read markers to async/wait 2019-10-29 15:08:22 +00:00
register.py Issue #6406 Fix parameter mismatch 2019-12-04 13:03:46 +05:30
room_list.py Remove unused public room list timeout param (#6179) 2019-10-08 13:51:25 +01:00
room_member_worker.py Propagate reason in remotely rejected invites 2019-11-28 11:31:56 +00:00
room_member.py Propagate reason in remotely rejected invites 2019-11-28 11:31:56 +00:00
room.py Merge branch 'develop' into babolivier/context_filters 2019-12-04 14:23:44 +00:00
saml_handler.py More better logging 2019-09-20 11:20:02 +01:00
search.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
set_password.py Added possibilty to disable local password authentication (#5092) 2019-06-27 18:37:29 +01:00
state_deltas.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
stats.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
sync.py Fixup functions to consistently return deferreds 2019-12-06 10:40:05 +00:00
typing.py Fixup functions to consistently return deferreds 2019-12-06 10:40:05 +00:00
user_directory.py Fix races in room stats (and other) updates. (#6187) 2019-10-10 11:29:01 +01:00