summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-19 16:17:40 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-19 16:17:40 +0000
commit0427f070cbedd27fae43473746ba46072f571330 (patch)
tree9b9811f153bf5985a218893ce90f9f0497497b79 /synapse/config/server.py
parentFix exception when a cross-signed device is deleted (#6462) (diff)
parentprivacy by default for room dir (#6355) (diff)
downloadsynapse-0427f070cbedd27fae43473746ba46072f571330.tar.xz
privacy by default for room dir (#6355)
* commit 'cb0aeb147':
  privacy by default for room dir (#6355)
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py26
1 files changed, 14 insertions, 12 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py

index dac84a5e73..f73f2e8f55 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py
@@ -124,15 +124,16 @@ class ServerConfig(Config): self.allow_public_rooms_without_auth = False self.allow_public_rooms_over_federation = False else: - # If set to 'False', requires authentication to access the server's public - # rooms directory through the client API. Defaults to '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'. self.allow_public_rooms_without_auth = config.get( - "allow_public_rooms_without_auth", True + "allow_public_rooms_without_auth", False ) - # If set to 'False', forbids any other homeserver to fetch the server's public - # rooms directory via federation. Defaults to 'True'. + # If set to 'true', allows any other homeserver to fetch the server's public + # rooms directory via federation. Defaults to 'false'. self.allow_public_rooms_over_federation = config.get( - "allow_public_rooms_over_federation", True + "allow_public_rooms_over_federation", False ) default_room_version = config.get("default_room_version", DEFAULT_ROOM_VERSION) @@ -639,15 +640,16 @@ class ServerConfig(Config): # # limit_profile_requests_to_known_users: true - # If set to 'false', requires authentication to access the server's public rooms - # directory through the client API. Defaults to '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'. # - #allow_public_rooms_without_auth: false + #allow_public_rooms_without_auth: true - # If set to 'false', forbids any other homeserver to fetch the server's public - # rooms directory via federation. Defaults to 'true'. + # If set to 'true', allows any other homeserver to fetch the server's public + # rooms directory via federation. Defaults to 'false'. # - #allow_public_rooms_over_federation: false + #allow_public_rooms_over_federation: true # The default room version for newly created rooms. #