Преглед изворни кода

add matrix_synapse_user_directory_exclude_remote_users var

pull/4572/head
Aine пре 5 месеци
родитељ
комит
071b5789f2
No known key found for this signature in database GPG Key ID: 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
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 Прегледај датотеку

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


Loading…
Откажи
Сачувај