Fix up sample config

This commit is contained in:
Erik Johnston 2019-03-20 14:35:41 +00:00
parent ab20f85c59
commit cd8c5b91ad
2 changed files with 8 additions and 4 deletions

View File

@ -954,8 +954,10 @@ password_config:
# User Directory configuration # User Directory configuration
# #
# 'enabled' defines whether users can search the user directory, # 'enabled' defines whether users can search the user directory. If
# defaults to True. # 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 # 'search_all_users' defines whether to search all users visible to your HS
# when searching the user directory, rather than limiting to users visible # 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 # in public rooms. Defaults to false. If you set it True, you'll have to run

View File

@ -37,8 +37,10 @@ class UserDirectoryConfig(Config):
return """ return """
# User Directory configuration # User Directory configuration
# #
# 'enabled' defines whether users can search the user directory, # 'enabled' defines whether users can search the user directory. If
# Defaults to true. # 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 # 'search_all_users' defines whether to search all users visible to your HS
# when searching the user directory, rather than limiting to users visible # 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 # in public rooms. Defaults to false. If you set it True, you'll have to run