summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorLuke Barnard <luke@matrix.org>2018-04-05 14:07:16 +0100
committerLuke Barnard <luke@matrix.org>2018-04-05 14:07:16 +0100
commit104c0bc1d5d1f2a487c50d63b22caa477b091976 (patch)
treec9fc64eca920ae4221efd0838c043e4956f7391f /synapse/rest/client
parentUse DEFAULT join_policy of "invite" in db (diff)
downloadsynapse-104c0bc1d5d1f2a487c50d63b22caa477b091976.tar.xz
Use "/settings/" (plural)
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v2_alpha/groups.py2
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__()