Skip to content
Snippets Groups Projects
Commit 97785bfc authored by Erik Johnston's avatar Erik Johnston
Browse files

Doc string

parent d3654694
No related branches found
No related tags found
No related merge requests found
...@@ -320,6 +320,12 @@ class DirectoryHandler(BaseHandler): ...@@ -320,6 +320,12 @@ class DirectoryHandler(BaseHandler):
@defer.inlineCallbacks @defer.inlineCallbacks
def edit_published_room_list(self, requester, room_id, visibility): 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: if requester.is_guest:
raise AuthError(403, "Guests cannot edit the published room list") raise AuthError(403, "Guests cannot edit the published room list")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment