diff options
author | Eric Eastwood <erice@element.io> | 2021-07-21 05:29:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 10:29:57 +0000 |
commit | 2d89c66b8811aa4968aefea3572f174fa00cc3c2 (patch) | |
tree | b3e16e23a6c7e2c11f788717ecaa6e4a78493b51 /synapse/rest/consent | |
parent | Merge tag 'v1.39.0rc1' into develop (diff) | |
download | synapse-2d89c66b8811aa4968aefea3572f174fa00cc3c2.tar.xz |
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.
Diffstat (limited to 'synapse/rest/consent')
0 files changed, 0 insertions, 0 deletions