mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-11 15:19:59 -04:00
Revert "Modify group room association API to allow modification of is_public"
This commit is contained in:
parent
d305987b40
commit
94ff2cda73
6 changed files with 22 additions and 32 deletions
|
@ -531,9 +531,9 @@ class TransportLayerClient(object):
|
|||
ignore_backoff=True,
|
||||
)
|
||||
|
||||
def update_room_group_association(self, destination, group_id, requester_user_id,
|
||||
room_id, content):
|
||||
"""Add or update an association between room and group
|
||||
def add_room_to_group(self, destination, group_id, requester_user_id, room_id,
|
||||
content):
|
||||
"""Add a room to a group
|
||||
"""
|
||||
path = PREFIX + "/groups/%s/room/%s" % (group_id, room_id,)
|
||||
|
||||
|
@ -545,8 +545,7 @@ class TransportLayerClient(object):
|
|||
ignore_backoff=True,
|
||||
)
|
||||
|
||||
def delete_room_group_association(self, destination, group_id, requester_user_id,
|
||||
room_id):
|
||||
def remove_room_from_group(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,)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue