From 966368ed064dff2fb84f6af4a4b13c3a3da65583 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 30 Apr 2026 14:46:49 +0300 Subject: [PATCH] docs/federation: correct documented default for room directory exposure Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5178 --- docs/configuring-playbook-federation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuring-playbook-federation.md b/docs/configuring-playbook-federation.md index 546569644..560c241e0 100644 --- a/docs/configuring-playbook-federation.md +++ b/docs/configuring-playbook-federation.md @@ -24,14 +24,14 @@ matrix_synapse_federation_domain_whitelist: If you wish to disable federation, you can do that with an empty list (`[]`), or better yet by completely disabling federation (see below). -## Exposing the room directory over federation +## Controlling exposure of the room directory over federation -By default, your server's public rooms directory is not exposed to other servers via federation. +By default, your server's public rooms directory is exposed to other servers via federation, so that public rooms hosted on your server can be discovered by users on other servers. This goes against the Synapse upstream default (which is `false`); see the [2023-10-23 changelog entry](../CHANGELOG.md#enabling-allow_public_rooms_over_federation-by-default-for-synapse) for the reasoning behind this choice. -To expose it, add the following configuration to your `vars.yml` file: +To prevent your public rooms directory from being exposed over federation (restoring the Synapse upstream default), add the following configuration to your `vars.yml` file: ```yaml -matrix_synapse_allow_public_rooms_over_federation: true +matrix_synapse_allow_public_rooms_over_federation: false ``` ## Disabling federation