Add option to allow profile queries without sharing a room (#6523)

This commit is contained in:
Will Hunt 2019-12-16 16:11:55 +00:00 committed by Andrew Morgan
parent 6920d88892
commit bfb95654c9
5 changed files with 28 additions and 1 deletions

View file

@ -54,6 +54,13 @@ pid_file: DATADIR/homeserver.pid
#
#require_auth_for_profile_requests: true
# Uncomment to require a user to share a room with another user in order
# to retrieve their profile information. Only checked on Client-Server
# requests. Profile requests from other servers should be checked by the
# requesting server. Defaults to 'false'.
#
#limit_profile_requests_to_users_who_share_rooms: true
# If set to 'true', removes the need for authentication to access the server's
# public rooms directory through the client API, meaning that anyone can
# query the room directory. Defaults to 'false'.