Browse Source

add matrix_synapse_user_directory_exclude_remote_users var

pull/4572/head
Aine 5 months ago
parent
commit
071b5789f2
No known key found for this signature in database GPG Key ID: 34969C908CCA2804
2 changed files with 4 additions and 0 deletions
  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 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


+ 3
- 0
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 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
#


Loading…
Cancel
Save