Merge pull request #2605 from matrix-org/luke/fix-group-creation-error-wording

Fix wording on group creation error
pull/4/merge
Richard van der Hoff 7 years ago committed by GitHub
commit e2f4190209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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):

Loading…
Cancel
Save