mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 20:22:07 +03:00
Fix wording on group creation error
This commit is contained in:
parent
208a6647f1
commit
9bc17fc5fb
1 changed files with 1 additions and 1 deletions
|
@ -749,7 +749,7 @@ class GroupsServerHandler(object):
|
||||||
if not is_admin:
|
if not is_admin:
|
||||||
if not self.hs.config.enable_group_creation:
|
if not self.hs.config.enable_group_creation:
|
||||||
raise SynapseError(
|
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
|
localpart = group_id_obj.localpart
|
||||||
if not localpart.startswith(self.hs.config.group_creation_prefix):
|
if not localpart.startswith(self.hs.config.group_creation_prefix):
|
||||||
|
|
Loading…
Reference in a new issue