diff options
author | Luke Barnard <luke@matrix.org> | 2018-04-05 14:07:16 +0100 |
---|---|---|
committer | Luke Barnard <luke@matrix.org> | 2018-04-05 14:07:16 +0100 |
commit | 104c0bc1d5d1f2a487c50d63b22caa477b091976 (patch) | |
tree | c9fc64eca920ae4221efd0838c043e4956f7391f /synapse/rest/client | |
parent | Use DEFAULT join_policy of "invite" in db (diff) | |
download | synapse-104c0bc1d5d1f2a487c50d63b22caa477b091976.tar.xz |
Use "/settings/" (plural)
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v2_alpha/groups.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/groups.py b/synapse/rest/client/v2_alpha/groups.py index 8faaa1d6a0..3bb1ec2af6 100644 --- a/synapse/rest/client/v2_alpha/groups.py +++ b/synapse/rest/client/v2_alpha/groups.py @@ -405,7 +405,7 @@ class GroupInvitedUsersServlet(RestServlet): class GroupSettingJoinPolicyServlet(RestServlet): """Set group join policy """ - PATTERNS = client_v2_patterns("/groups/(?P<group_id>[^/]*)/setting/m.join_policy$") + PATTERNS = client_v2_patterns("/groups/(?P<group_id>[^/]*)/settings/m.join_policy$") def __init__(self, hs): super(GroupSettingJoinPolicyServlet, self).__init__() |