diff options
author | Luke Barnard <lukeb@openmarket.com> | 2017-10-31 17:04:28 +0000 |
---|---|---|
committer | Luke Barnard <lukeb@openmarket.com> | 2017-10-31 17:04:28 +0000 |
commit | 20fe347906355e6eec2b890f5d9dc8e2c4534ce3 (patch) | |
tree | 628df3eb06d9fa513d0a6c3ce1ccdecb4115b9c9 /synapse/federation/transport/client.py | |
parent | Merge pull request #2609 from matrix-org/rav/refactor_login (diff) | |
download | synapse-20fe347906355e6eec2b890f5d9dc8e2c4534ce3.tar.xz |
Modify group room association API to allow modification of is_public
also includes renamings to make things more consistent.
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r-- | synapse/federation/transport/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index d25ae1b282..2fcbb7069b 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -531,7 +531,7 @@ class TransportLayerClient(object): ignore_backoff=True, ) - def add_room_to_group(self, destination, group_id, requester_user_id, room_id, + def update_room_group_association(self, destination, group_id, requester_user_id, room_id, content): """Add a room to a group """ @@ -545,7 +545,7 @@ class TransportLayerClient(object): ignore_backoff=True, ) - def remove_room_from_group(self, destination, group_id, requester_user_id, room_id): + def delete_room_group_association(self, destination, group_id, requester_user_id, room_id): """Remove a room from a group """ path = PREFIX + "/groups/%s/room/%s" % (group_id, room_id,) |