summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-12-07 09:58:33 +0000
committerErik Johnston <erik@matrix.org>2016-12-07 09:58:33 +0000
commit2687af82d4b63fbdc7597a46e0cec297cc660a51 (patch)
tree526d7851228b2249e17688eb588b972c80f59403 /synapse/handlers/directory.py
parentDon't include appservice id (diff)
downloadsynapse-2687af82d4b63fbdc7597a46e0cec297cc660a51.tar.xz
Comments
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py

index 08ed513ef8..1b5317edf5 100644 --- a/synapse/handlers/directory.py +++ b/synapse/handlers/directory.py
@@ -343,7 +343,14 @@ class DirectoryHandler(BaseHandler): @defer.inlineCallbacks def edit_published_appservice_room_list(self, appservice_id, network_id, room_id, visibility): - """Edit the appservice/network specific public room list. + """Add or remove a room from the appservice/network specific public + room list. + + Args: + appservice_id (str): ID of the appservice that owns the list + network_id (str): The ID of the network the list is associated with + room_id (str) + visibility (str): either "public" or "private" """ if visibility not in ["public", "private"]: raise SynapseError(400, "Invalid visibility setting")