use PUT instead of POST for federating groups/m.join_policy

This commit is contained in:
Krombel 2018-04-06 12:54:09 +02:00
parent 15e8ed874f
commit 1d71f484d4
3 changed files with 7 additions and 3 deletions

View file

@ -864,7 +864,7 @@ class TransportLayerClient(object):
"""
path = PREFIX + "/groups/%s/settings/m.join_policy" % (group_id,)
return self.client.post_json(
return self.client.put_json(
destination=destination,
path=path,
args={"requester_user_id": requester_user_id},