summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-10-30 16:06:42 +0000
committerGitHub <noreply@github.com>2017-10-30 16:06:42 +0000
commite2f4190209f0b4ebaaed91f6e18ef386ac8567a0 (patch)
tree06a040b2509c5fd18c442c5a61d2d2a4b78ac24d
parentfix typo (diff)
parentFix wording on group creation error (diff)
downloadsynapse-e2f4190209f0b4ebaaed91f6e18ef386ac8567a0.tar.xz
Merge pull request #2605 from matrix-org/luke/fix-group-creation-error-wording
Fix wording on group creation error
Diffstat (limited to '')
-rw-r--r--synapse/groups/groups_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index cb2ff76a0d..dedc9cc7fd 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -749,7 +749,7 @@ class GroupsServerHandler(object):
         if not is_admin:
             if not self.hs.config.enable_group_creation:
                 raise SynapseError(
-                    403, "Only server admin can create group on this server",
+                    403, "Only a server admin can create groups on this server",
                 )
             localpart = group_id_obj.localpart
             if not localpart.startswith(self.hs.config.group_creation_prefix):