Przeglądaj źródła

add matrix_synapse_user_directory_exclude_remote_users var

pull/4572/head
Aine 5 miesięcy temu
rodzic
commit
071b5789f2
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 34969C908CCA2804
2 zmienionych plików z 4 dodań i 0 usunięć
  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 Wyświetl plik

@@ -565,6 +565,7 @@ matrix_synapse_include_profile_data_on_invite: true
# User search behaviour
matrix_synapse_user_directory_search_all_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.
matrix_synapse_enable_registration: false


+ 3
- 0
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Wyświetl plik

@@ -2646,6 +2646,9 @@ user_directory:
#
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
#


Ładowanie…
Anuluj
Zapisz