diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-06-24 11:45:11 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-06-24 15:42:31 +0100 |
commit | bfe84e051e8472a1c3534e1287f1fb727df63259 (patch) | |
tree | 519b95c690cf4c6c81eb9c22bcbb4773ba7e894b /docs/sample_config.yaml | |
parent | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) (diff) | |
download | synapse-bfe84e051e8472a1c3534e1287f1fb727df63259.tar.xz |
Split public rooms directory auth config in two
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r-- | docs/sample_config.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index d5cc3e7abc..f4fd113211 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -54,11 +54,15 @@ pid_file: DATADIR/homeserver.pid # #require_auth_for_profile_requests: true -# If set to 'true', requires authentication to access the server's -# public rooms directory through the client API, and forbids any other -# homeserver to fetch it via federation. Defaults to 'false'. +# If set to 'false', requires authentication to access the server's public rooms +# directory through the client API. Defaults to 'true'. # -#restrict_public_rooms_to_local_users: 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'. +# +#allow_public_rooms_over_federation: false # The default room version for newly created rooms. # |