summary refs log tree commit diff
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2024-06-18 11:37:02 +0200
committerGitHub <noreply@github.com>2024-06-18 10:37:02 +0100
commit1c7d85fdfea386c1d9631ca10bacb77ce66dbf37 (patch)
tree4b333acfd46c333f9ec1cfa4605ce0944e52d0f6
parentBump types-pyyaml from 6.0.12.12 to 6.0.12.20240311 (#17316) (diff)
downloadsynapse-1c7d85fdfea386c1d9631ca10bacb77ce66dbf37.tar.xz
fix missing quotes for exclude_rooms_from_sync (#17308)
We tried to configure rooms `exclude_rooms_from_sync`. If we do not
quote we get an error.
The example should be valid.
-rw-r--r--changelog.d/17308.doc1
-rw-r--r--docs/usage/configuration/config_documentation.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/17308.doc b/changelog.d/17308.doc
new file mode 100644
index 0000000000..7ae080a684
--- /dev/null
+++ b/changelog.d/17308.doc
@@ -0,0 +1 @@
+Add missing quotes for example for `exclude_rooms_from_sync`.
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md
index d23f8c4c4f..22c545359d 100644
--- a/docs/usage/configuration/config_documentation.md
+++ b/docs/usage/configuration/config_documentation.md
@@ -4150,7 +4150,7 @@ By default, no room is excluded.
 Example configuration:
 ```yaml
 exclude_rooms_from_sync:
-    - !foo:example.com
+    - "!foo:example.com"
 ```
 
 ---