mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 18:46:11 -04:00
Merge pull request #4895 from matrix-org/erikj/disable_user_search
Add option to disable searching in the user dir
This commit is contained in:
commit
263f2c9ce1
5 changed files with 73 additions and 0 deletions
|
@ -962,6 +962,10 @@ password_config:
|
|||
|
||||
# User Directory configuration
|
||||
#
|
||||
# 'enabled' defines whether users can search the user directory. If
|
||||
# false then empty responses are returned to all queries. Defaults to
|
||||
# true.
|
||||
#
|
||||
# 'search_all_users' defines whether to search all users visible to your HS
|
||||
# when searching the user directory, rather than limiting to users visible
|
||||
# in public rooms. Defaults to false. If you set it True, you'll have to run
|
||||
|
@ -969,6 +973,7 @@ password_config:
|
|||
# on your database to tell it to rebuild the user_directory search indexes.
|
||||
#
|
||||
#user_directory:
|
||||
# enabled: true
|
||||
# search_all_users: false
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue