瀏覽代碼

Allow default room version to be configured

pull/201/head
Aaron Raimist 6 年之前
父節點
當前提交
483bdd8c01
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 37419210002890EF
共有 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 查看文件

@@ -286,3 +286,5 @@ matrix_synapse_room_list_publication_rules:
alias: "*" alias: "*"
room_id: "*" room_id: "*"
action: allow action: allow

matrix_synapse_default_room_version: "4"

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

@@ -82,7 +82,7 @@ use_presence: {{ matrix_synapse_use_presence|to_json }}
# For example, for room version 1, default_room_version should be set # For example, for room version 1, default_room_version should be set
# to "1". # to "1".
# #
#default_room_version: "4"
default_room_version: "{{ matrix_synapse_default_room_version|to_json }}"


# The GC threshold parameters to pass to `gc.set_threshold`, if defined # The GC threshold parameters to pass to `gc.set_threshold`, if defined
# #


Loading…
取消
儲存