mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 05:43:52 +01:00
Update docs for updating room group association
This commit is contained in:
parent
13b3d7b4a0
commit
207fabbc6a
2 changed files with 2 additions and 2 deletions
|
@ -533,7 +533,7 @@ class TransportLayerClient(object):
|
||||||
|
|
||||||
def update_room_group_association(self, destination, group_id, requester_user_id,
|
def update_room_group_association(self, destination, group_id, requester_user_id,
|
||||||
room_id, content):
|
room_id, content):
|
||||||
"""Add a room to a group
|
"""Add or update an association between room and group
|
||||||
"""
|
"""
|
||||||
path = PREFIX + "/groups/%s/room/%s" % (group_id, room_id,)
|
path = PREFIX + "/groups/%s/room/%s" % (group_id, room_id,)
|
||||||
|
|
||||||
|
|
|
@ -533,7 +533,7 @@ class GroupsServerHandler(object):
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def update_room_group_association(self, group_id, requester_user_id, room_id,
|
def update_room_group_association(self, group_id, requester_user_id, room_id,
|
||||||
content):
|
content):
|
||||||
"""Add room to group
|
"""Add or update an association between room and group
|
||||||
"""
|
"""
|
||||||
RoomID.from_string(room_id) # Ensure valid room id
|
RoomID.from_string(room_id) # Ensure valid room id
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue