From 280b3cd683d6aa3350327b7f256b2732370830f7 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Thu, 24 Aug 2023 10:37:45 -0700 Subject: [PATCH 1/3] add config documentation about `exclude_rooms_fom_sync` --- docs/usage/configuration/config_documentation.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md index 743c51d76adf..4067940b98ac 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md @@ -3865,6 +3865,19 @@ Example configuration: ```yaml forget_rooms_on_leave: false ``` +--- +### `exclude_rooms_from_sync` +A list of rooms to exclude from sync responses. This is useful for server +administrators wishing to group users into a room without these users being able +to see it from their client. + +By default, no room is excluded. + +Example configuration: +```yaml +exclude_rooms_from_sync: + - !foo:example.com +``` --- ## Opentracing From f6ba8a180d7e9581df9457f566bae6baf8529506 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Thu, 24 Aug 2023 10:42:03 -0700 Subject: [PATCH 2/3] newsfragment --- changelog.d/16178.doc | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 changelog.d/16178.doc diff --git a/changelog.d/16178.doc b/changelog.d/16178.doc new file mode 100644 index 000000000000..3bedd0a4cacf --- /dev/null +++ b/changelog.d/16178.doc @@ -0,0 +1,2 @@ +Document exclude_rooms_fom_sync configuration option. + From 81b7bec50f65c77fd463df3074492e95f1c36f82 Mon Sep 17 00:00:00 2001 From: Shay Date: Thu, 24 Aug 2023 11:31:25 -0700 Subject: [PATCH 3/3] Update changelog.d/16178.doc Co-authored-by: Patrick Cloke --- changelog.d/16178.doc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/changelog.d/16178.doc b/changelog.d/16178.doc index 3bedd0a4cacf..ea21e19240bd 100644 --- a/changelog.d/16178.doc +++ b/changelog.d/16178.doc @@ -1,2 +1 @@ -Document exclude_rooms_fom_sync configuration option. - +Document `exclude_rooms_from_sync` configuration option.