ソースを参照

Add support for controlling Synapse's autocreate_auto_join_rooms

pull/44/head
Slavi Pantaleev 7年前
コミット
5b70ec67a4
2個のファイルの変更5行の追加1行の削除
  1. +4
    -0
      roles/matrix-server/defaults/main.yml
  2. +1
    -1
      roles/matrix-server/templates/synapse/homeserver.yaml.j2

+ 4
- 0
roles/matrix-server/defaults/main.yml ファイルの表示

@@ -91,6 +91,10 @@ matrix_synapse_enable_registration: false
# Rooms are to be specified using addresses (e.g. `#address:example.com`) # Rooms are to be specified using addresses (e.g. `#address:example.com`)
matrix_synapse_auto_join_rooms: [] matrix_synapse_auto_join_rooms: []


# Controls whether auto-join rooms (`matrix_synapse_auto_join_rooms`) are to be created
# automatically if they don't already exist.
matrix_synapse_autocreate_auto_join_rooms: true

# Controls password-peppering for Matrix Synapse. Not to be changed after initial setup. # Controls password-peppering for Matrix Synapse. Not to be changed after initial setup.
matrix_synapse_password_config_pepper: "" matrix_synapse_password_config_pepper: ""




+ 1
- 1
roles/matrix-server/templates/synapse/homeserver.yaml.j2 ファイルの表示

@@ -488,7 +488,7 @@ auto_join_rooms:
# homeserver registers. # homeserver registers.
# Setting to false means that if the rooms are not manually created, # Setting to false means that if the rooms are not manually created,
# users cannot be auto-joined since they do not exist. # users cannot be auto-joined since they do not exist.
autocreate_auto_join_rooms: true
autocreate_auto_join_rooms: {{ matrix_synapse_autocreate_auto_join_rooms }}








読み込み中…
キャンセル
保存