summary refs log tree commit diff
path: root/docs/sample_config.yaml
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2019-12-16 16:11:55 +0000
committerAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-12-16 16:11:55 +0000
commitbfb95654c97a8d3aa164eff96ecc13755c1c326d (patch)
treeed4b8ff50105d77770898e9e485eb3060996d598 /docs/sample_config.yaml
parentExclude rejected state events when calculating state at backwards extrems (#6... (diff)
downloadsynapse-bfb95654c97a8d3aa164eff96ecc13755c1c326d.tar.xz
Add option to allow profile queries without sharing a room (#6523)
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r--docs/sample_config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 4d44e631d1..1787248f53 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -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'.