synapse-old/synapse/api
Eric Eastwood 2d89c66b88
Switch to `chunk` events so we can auth via power_levels (MSC2716) (#10432)
Previously, we were using `content.chunk_id` to connect one
chunk to another. But these events can be from any `sender`
and we can't tell who should be able to send historical events.
We know we only want the application service to do it but these
events have the sender of a real historical message, not the
application service user ID as the sender. Other federated homeservers
also have no indicator which senders are an application service on
the originating homeserver.

So we want to auth all of the MSC2716 events via power_levels
and have them be sent by the application service with proper
PL levels in the room.
2021-07-21 10:29:57 +00:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
auth.py Add a module type for account validity (#9884) 2021-07-16 18:11:53 +02:00
auth_blocking.py Add type hints to auth and auth_blocking. (#9876) 2021-04-23 12:02:16 -04:00
constants.py Switch to `chunk` events so we can auth via power_levels (MSC2716) (#10432) 2021-07-21 10:29:57 +00:00
errors.py Use inline type hints in various other places (in `synapse/`) (#10380) 2021-07-15 11:02:43 +01:00
filtering.py Use inline type hints in various other places (in `synapse/`) (#10380) 2021-07-15 11:02:43 +01:00
presence.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
ratelimiting.py Use inline type hints in various other places (in `synapse/`) (#10380) 2021-07-15 11:02:43 +01:00
room_versions.py MSC3244 room capabilities implementation (#10283) 2021-07-20 12:59:23 +01:00
urls.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00