0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 23:23:50 +01:00
synapse/tests/federation
Andrew Morgan fcd6961441
Add option to enable encryption by default for new rooms (#7639)
Fixes https://github.com/matrix-org/synapse/issues/2431

Adds config option `encryption_enabled_by_default_for_room_type`, which determines whether encryption should be enabled with the default encryption algorithm in private or public rooms upon creation. Whether the room is private or public is decided based upon the room creation preset that is used.

Part of this PR is also pulling out all of the individual instances of `m.megolm.v1.aes-sha2` into a constant variable to eliminate typos ala https://github.com/matrix-org/synapse/pull/7637

Based on #7637
2020-06-10 17:44:34 +01:00
..
transport privacy by default for room dir (#6355) 2019-12-04 09:46:16 +00:00
__init__.py Implementation of server_acls 2018-07-04 19:06:20 +01:00
test_complexity.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
test_federation_sender.py Add option to enable encryption by default for new rooms (#7639) 2020-06-10 17:44:34 +01:00
test_federation_server.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00