1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 05cd1750e6..fb6f84f6f3 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -54,12 +54,12 @@ pid_file: DATADIR/homeserver.pid
#
#require_auth_for_profile_requests: true
-# Whether to require a user to share a room with another user in order
+# 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_known_users: true
+#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
|