mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Update docs for updating room group association
This commit is contained in:
parent
13b3d7b4a0
commit
207fabbc6a
@ -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 New Issue
Block a user