diff options
author | Erik Johnston <erik@matrix.org> | 2016-03-22 10:41:44 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-03-22 10:41:44 +0000 |
commit | 97785bfc0fe42619183e73432b897d2740fa74f8 (patch) | |
tree | 1f3ed2406cbe6bc5450da7b9ce282a3cb037ef30 /synapse/handlers/directory.py | |
parent | an invalide is something else... (diff) | |
download | synapse-97785bfc0fe42619183e73432b897d2740fa74f8.tar.xz |
Doc string
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r-- | synapse/handlers/directory.py | 6 |
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") |