From cfcf5541b463d4d360ef40a2982d702e9d6fb76a Mon Sep 17 00:00:00 2001
From: Jerin J Titus <72017981+jerinjtitus@users.noreply.github.com>
Date: Tue, 29 Dec 2020 20:00:48 +0530
Subject: [PATCH] Update the value of group_creation_prefix in sample config.
 (#8992)

Removes the trailing slash with causes issues with matrix.to/Element.
---
 changelog.d/8992.doc     | 1 +
 docs/sample_config.yaml  | 2 +-
 synapse/config/groups.py | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 changelog.d/8992.doc

diff --git a/changelog.d/8992.doc b/changelog.d/8992.doc
new file mode 100644
index 0000000000..6a47bda26b
--- /dev/null
+++ b/changelog.d/8992.doc
@@ -0,0 +1 @@
+Update the example value of `group_creation_prefix` in the sample configuration.
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 0b4dd115fb..dd981609ac 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -2366,7 +2366,7 @@ spam_checker:
 # If enabled, non server admins can only create groups with local parts
 # starting with this prefix
 #
-#group_creation_prefix: "unofficial/"
+#group_creation_prefix: "unofficial_"
 
 
 
diff --git a/synapse/config/groups.py b/synapse/config/groups.py
index d6862d9a64..7b7860ea71 100644
--- a/synapse/config/groups.py
+++ b/synapse/config/groups.py
@@ -32,5 +32,5 @@ class GroupsConfig(Config):
         # If enabled, non server admins can only create groups with local parts
         # starting with this prefix
         #
-        #group_creation_prefix: "unofficial/"
+        #group_creation_prefix: "unofficial_"
         """
-- 
GitLab