summary refs log tree commit diff
path: root/synapse/app/federation_reader.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-28 17:03:40 +0100
committerErik Johnston <erik@matrix.org>2016-07-28 17:03:40 +0100
commit76b89d0edb9df7c5d8b595b85ff895367631fdf2 (patch)
tree0494e79c7a6bc0765b230ee7e08c3d1790f7bab5 /synapse/app/federation_reader.py
parentAdd get_auth_chain to slave store (diff)
downloadsynapse-76b89d0edb9df7c5d8b595b85ff895367631fdf2.tar.xz
Add slace storage functions for public room list
Diffstat (limited to 'synapse/app/federation_reader.py')
-rw-r--r--synapse/app/federation_reader.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/app/federation_reader.py b/synapse/app/federation_reader.py
index 98a18f9b3d..2e5ba09014 100644
--- a/synapse/app/federation_reader.py
+++ b/synapse/app/federation_reader.py
@@ -24,6 +24,8 @@ from synapse.metrics.resource import MetricsResource, METRICS_PREFIX
 from synapse.replication.slave.storage._base import BaseSlavedStore
 from synapse.replication.slave.storage.events import SlavedEventStore
 from synapse.replication.slave.storage.keys import SlavedKeyStore
+from synapse.replication.slave.storage.room import RoomStore
+from synapse.replication.slave.storage.directory import DirectoryStore
 from synapse.server import HomeServer
 from synapse.storage.engines import create_engine
 from synapse.util.async import sleep
@@ -52,6 +54,8 @@ logger = logging.getLogger("synapse.app.federation_reader")
 class FederationReaderSlavedStore(
     SlavedEventStore,
     SlavedKeyStore,
+    RoomStore,
+    DirectoryStore,
     BaseSlavedStore,
 ):
     pass