summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-14 17:01:02 +0100
committerErik Johnston <erik@matrix.org>2016-09-14 17:29:19 +0100
commitbaffe96d95f31f0217be5fbc8c03c5f6b7485d53 (patch)
tree2d7995885459c5024d389dd79f9d27cfe0d9f29f /synapse/storage/__init__.py
parentAdd a DB index to figure out past state at a stream ordering in a room (diff)
downloadsynapse-baffe96d95f31f0217be5fbc8c03c5f6b7485d53.tar.xz
Add a room visibility stream
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index a61e83d5de..0099a3f5bb 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -113,6 +113,9 @@ class DataStore(RoomMemberStore, RoomStore,
         self._device_inbox_id_gen = StreamIdGenerator(
             db_conn, "device_max_stream_id", "stream_id"
         )
+        self._public_room_id_gen = StreamIdGenerator(
+            db_conn, "public_room_list_stream", "stream_id"
+        )
 
         self._transaction_id_gen = IdGenerator(db_conn, "sent_transactions", "id")
         self._state_groups_id_gen = IdGenerator(db_conn, "state_groups", "id")