matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.83k stars 2.12k forks source link

Ignore `encryption_enabled_by_default_for_room_type` for notices room #16677

Closed MatMaul closed 11 months ago

MatMaul commented 12 months ago

Currently the created rooms are encrypted, but the sent notices there are unencrypted which is rather ugly.

My assumptions were wrong so this PR got fully rewrote.

It now bypasses encryption_enabled_by_default_for_room_type setting when creating server notices room, since the notices will be send unencrypted anyway.

Signed-off-by: Mathieu Velten matmaul@gmail.com

Pull Request Checklist

MatMaul commented 11 months ago

Sorry for the force push, this got fully rewrote following wrong assumptions.