preserve room visibility

This commit is contained in:
Richard van der Hoff 2018-10-12 11:13:40 +01:00
parent 0f7d1c9906
commit 4cda300058
2 changed files with 6 additions and 4 deletions

View file

@ -47,7 +47,7 @@ class RoomWorkerStore(SQLBaseStore):
Args:
room_id (str): The ID of the room to retrieve.
Returns:
A namedtuple containing the room information, or an empty list.
A dict containing the room information, or None if the room is unknown.
"""
return self._simple_select_one(
table="rooms",