mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-29 16:37:33 -05:00
use PUT instead of POST for federating groups/m.join_policy
This commit is contained in:
parent
15e8ed874f
commit
1d71f484d4
3 changed files with 7 additions and 3 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue