forked-synapse/synapse
Richard van der Hoff 25f1244329
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-12 12:57:45 +00:00
..
_scripts Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
api Merge pull request #6329 from matrix-org/babolivier/context_filters 2019-12-04 15:24:16 +00:00
app Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_apps 2019-12-12 10:37:56 +00:00
appservice Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
config Allow SAML username provider plugins (#6411) 2019-12-10 17:30:16 +00:00
crypto Don't encode object as UTF-8 string if not needed. 2019-10-24 18:08:45 +01:00
events Merge branch 'develop' into babolivier/message_retention 2019-11-26 17:53:57 +00:00
federation Merge pull request #6349 from matrix-org/babolivier/msc1802 2019-12-11 11:41:47 +00:00
groups Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
handlers Check the room_id of events when fetching room state/auth (#6524) 2019-12-12 12:57:45 +00:00
http Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
logging Update comment 2019-12-10 13:17:39 +00:00
metrics Fix up some typechecking (#6150) 2019-10-02 05:29:01 -07:00
module_api Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
push Don't call SQLBaseStore methods from outside stores 2019-12-04 16:23:43 +00:00
replication Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
res/templates Allow HS to send emails when adding an email to the HS (#6042) 2019-09-20 15:21:30 +01:00
rest Back out change preventing setting null avatar URLs 2019-12-11 11:46:55 +00:00
server_notices Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
spam_checker_api Expose some homeserver functionality to spam checkers (#6259) 2019-10-31 09:16:14 -06:00
state Prevent redacted events from appearing in message search (#6377) 2019-12-11 13:39:47 +00:00
static Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Synapse 1.7.0rc2 (2019-12-11) 2019-12-11 14:14:30 +00:00
streams Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
util Remove SnapshotCache in favour of ResponseCache 2019-12-09 13:42:49 +00:00
__init__.py 1.7.0rc2 2019-12-11 13:56:50 +00:00
event_auth.py Remove redundant code from event authorisation implementation. (#6502) 2019-12-10 15:09:45 +00:00
notifier.py Port SyncHandler to async/await 2019-12-05 17:58:25 +00:00
python_dependencies.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Add new config param to docstring and add types 2019-12-11 17:27:46 +00:00
server.pyi Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
types.py Merge branch 'develop' into uhoreg/e2e_cross-signing_merged 2019-10-18 11:39:40 +01:00
visibility.py Lint 2019-11-28 20:35:22 +00:00