Update docs for updating room group association

pull/2612/head
Luke Barnard 2017-11-01 09:35:15 +00:00
parent 13b3d7b4a0
commit 207fabbc6a
2 changed files with 2 additions and 2 deletions

View File

@ -533,7 +533,7 @@ class TransportLayerClient(object):
def update_room_group_association(self, destination, group_id, requester_user_id,
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,)

View File

@ -533,7 +533,7 @@ class GroupsServerHandler(object):
@defer.inlineCallbacks
def update_room_group_association(self, group_id, requester_user_id, room_id,
content):
"""Add room to group
"""Add or update an association between room and group
"""
RoomID.from_string(room_id) # Ensure valid room id