Przeglądaj źródła

Add encryption_enabled_by_default_for_room_type

This commit simply add encryption_enabled_by_default_for_room_type
variable.

Signed-off-by: Alejo Diaz <xlejo@protonmail.com>
pull/1489/head
Alejo Diaz 4 lat temu
rodzic
commit
297ed9ce36
2 zmienionych plików z 3 dodań i 1 usunięć
  1. +2
    -0
      roles/matrix-synapse/defaults/main.yml
  2. +1
    -1
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 2
- 0
roles/matrix-synapse/defaults/main.yml Wyświetl plik

@@ -580,6 +580,8 @@ matrix_synapse_default_room_version: "6"
# If not, you can also control its value manually. # If not, you can also control its value manually.
matrix_synapse_spam_checker: [] matrix_synapse_spam_checker: []


matrix_synapse_encryption_enabled_by_default_for_room_type: off

matrix_synapse_trusted_key_servers: matrix_synapse_trusted_key_servers:
- server_name: "matrix.org" - server_name: "matrix.org"




+ 1
- 1
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 Wyświetl plik

@@ -2651,7 +2651,7 @@ spam_checker: {{ matrix_synapse_spam_checker|to_json }}
# Note that this option will only affect rooms created after it is set. It # Note that this option will only affect rooms created after it is set. It
# will also not affect rooms created by other servers. # will also not affect rooms created by other servers.
# #
#encryption_enabled_by_default_for_room_type: invite
encryption_enabled_by_default_for_room_type: {{ matrix_synapse_encryption_enabled_by_default_for_room_type }}




# Uncomment to allow non-server-admin users to create groups on this server # Uncomment to allow non-server-admin users to create groups on this server


Ładowanie…
Anuluj
Zapisz