Просмотр исходного кода

add matrix_synapse_user_directory_exclude_remote_users var

pull/4572/head
Aine 5 месяцев назад
Родитель
Сommit
071b5789f2
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 34969C908CCA2804
2 измененных файлов: 4 добавлений и 0 удалений
  1. +1
    -0
      roles/custom/matrix-synapse/defaults/main.yml
  2. +3
    -0
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 0
roles/custom/matrix-synapse/defaults/main.yml Просмотреть файл

@@ -565,6 +565,7 @@ matrix_synapse_include_profile_data_on_invite: true
# User search behaviour # User search behaviour
matrix_synapse_user_directory_search_all_users: false matrix_synapse_user_directory_search_all_users: false
matrix_synapse_user_directory_prefer_local_users: false matrix_synapse_user_directory_prefer_local_users: false
matrix_synapse_user_directory_exclude_remote_users: false


# Controls whether people with access to the homeserver can register by themselves. # Controls whether people with access to the homeserver can register by themselves.
matrix_synapse_enable_registration: false matrix_synapse_enable_registration: false


+ 3
- 0
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Просмотреть файл

@@ -2646,6 +2646,9 @@ user_directory:
# #
prefer_local_users: {{ matrix_synapse_user_directory_prefer_local_users | to_json }} prefer_local_users: {{ matrix_synapse_user_directory_prefer_local_users | to_json }}


# If set to true, the search will only return local users. Defaults to false.
exclude_remote_users: {{ matrix_synapse_user_directory_exclude_remote_users | to_json }}



# User Consent configuration # User Consent configuration
# #


Загрузка…
Отмена
Сохранить