MatrixSynapse/synapse/api
Eric Eastwood b2be8cec39 Switch to chunk events so we can auth via power_levels
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-20 00:06:31 -05:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
auth.py Share validation logic 2021-07-12 17:18:34 -05: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 2021-07-20 00:06:31 -05:00
errors.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
filtering.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
presence.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
ratelimiting.py Correctly ratelimit invites when creating a room (#9968) 2021-05-12 16:05:28 +02:00
room_versions.py Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167) 2021-06-15 07:45:14 -04:00
urls.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00