summary refs log tree commit diff
path: root/synapse/groups
diff options
context:
space:
mode:
authorLuke Barnard <lukeb@openmarket.com>2017-10-30 15:17:23 +0000
committerLuke Barnard <lukeb@openmarket.com>2017-10-30 15:17:23 +0000
commit9bc17fc5fb8189eb954881b90f4b2f502f303067 (patch)
tree06a040b2509c5fd18c442c5a61d2d2a4b78ac24d /synapse/groups
parentfix typo (diff)
downloadsynapse-9bc17fc5fb8189eb954881b90f4b2f502f303067.tar.xz
Fix wording on group creation error
Diffstat (limited to 'synapse/groups')
-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):