Docstring

pull/1676/head
Erik Johnston 2016-12-12 11:00:27 +00:00
parent 2687af82d4
commit d45c984653
1 changed files with 12 additions and 0 deletions

View File

@ -143,6 +143,18 @@ class RoomStore(SQLBaseStore):
def set_room_is_public_appservice(self, room_id, appservice_id, network_id,
is_public):
"""Edit the appservice/network specific public room list.
Each appservice can have a number of published room lists associated
with them, keyed off of an appservice defined `network_id`, which
basically represents a single instance of a bridge to a third party
network.
Args:
room_id (str)
appservice_id (str)
network_id (str)
is_public (bool): Whether to publish or unpublish the room from the
list.
"""
def set_room_is_public_appservice_txn(txn, next_id):
if is_public: