diff options
author | Krombel <krombel@krombel.de> | 2018-04-06 12:54:09 +0200 |
---|---|---|
committer | Krombel <krombel@krombel.de> | 2018-04-06 12:54:09 +0200 |
commit | 1d71f484d4ec00fd41e3ef195622d0d5dba6d372 (patch) | |
tree | 027d8c5199c03cefba9a7f1b8c1283dff1cc07da /synapse/federation/transport/client.py | |
parent | more verbosity in synctl (diff) | |
download | synapse-1d71f484d4ec00fd41e3ef195622d0d5dba6d372.tar.xz |
use PUT instead of POST for federating groups/m.join_policy
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r-- | synapse/federation/transport/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index 1fe162d55b..3beab47832 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -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}, |