summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-10-12 11:13:40 +0100
committerRichard van der Hoff <richard@matrix.org>2018-10-25 19:10:24 +0100
commit4cda300058ba68f97c032923ebf429f437eddd8e (patch)
tree3a20d9d320c124c966f459a8ab9fb968bc57d42f /synapse/storage
parentBasic initial support for room upgrades (diff)
downloadsynapse-4cda300058ba68f97c032923ebf429f437eddd8e.tar.xz
preserve room visibility
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/room.py b/synapse/storage/room.py
index 61013b8919..41c65e112a 100644
--- a/synapse/storage/room.py
+++ b/synapse/storage/room.py
@@ -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",