浏览代码

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 年前
父节点
当前提交
297ed9ce36
共有 2 个文件被更改,包括 3 次插入1 次删除
  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 查看文件

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

matrix_synapse_encryption_enabled_by_default_for_room_type: off

matrix_synapse_trusted_key_servers:
- server_name: "matrix.org"



+ 1
- 1
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 查看文件

@@ -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
# 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


正在加载...
取消
保存