Create hooks for user search ability

This commit is contained in:
Luke D Iremadze
2023-06-02 12:50:46 -06:00
parent cfedf675ee
commit 1f0da9f744
2 changed files with 7 additions and 2 deletions

View File

@ -2630,7 +2630,7 @@ user_directory:
# Uncomment to return search results containing all known users, even if that
# user does not share a room with the requester.
#
#search_all_users: true
search_all_users: {{ matrix_synapse_search_all_users|to_json }}
# Defines whether to prefer local users in search query results.
# If True, local users are more likely to appear above remote users
@ -2639,7 +2639,7 @@ user_directory:
# Uncomment to prefer local over remote users in user directory search
# results.
#
#prefer_local_users: true
prefer_local_users: {{ matrix_synapse_prefer_local_users|to_json }}
# User Consent configuration