add matrix_synapse_user_directory_exclude_remote_users var

This commit is contained in:
Aine
2025-09-10 16:38:42 +01:00
parent d2f38f04a6
commit 071b5789f2
2 changed files with 4 additions and 0 deletions

View File

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

View File

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