Use "/settings/" (plural)

This commit is contained in:
Luke Barnard 2018-04-05 14:07:16 +01:00
parent 700e5e7198
commit 104c0bc1d5
3 changed files with 3 additions and 3 deletions

View file

@ -862,7 +862,7 @@ class TransportLayerClient(object):
content):
"""Sets the join policy for a group
"""
path = PREFIX + "/groups/%s/setting/m.join_policy" % (group_id,)
path = PREFIX + "/groups/%s/settings/m.join_policy" % (group_id,)
return self.client.post_json(
destination=destination,