summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-22 10:41:44 +0000
committerErik Johnston <erik@matrix.org>2016-03-22 10:41:44 +0000
commit97785bfc0fe42619183e73432b897d2740fa74f8 (patch)
tree1f3ed2406cbe6bc5450da7b9ce282a3cb037ef30 /synapse/handlers/directory.py
parentan invalide is something else... (diff)
downloadsynapse-97785bfc0fe42619183e73432b897d2740fa74f8.tar.xz
Doc string
Diffstat (limited to '')
-rw-r--r--synapse/handlers/directory.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index f6143521fb..8eeb225811 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -320,6 +320,12 @@ class DirectoryHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def edit_published_room_list(self, requester, room_id, visibility):
+        """Edit the entry of the room in the published room list.
+
+        requester
+        room_id (str)
+        visibility (str): "public" or "private"
+        """
         if requester.is_guest:
             raise AuthError(403, "Guests cannot edit the published room list")