summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-08-16 15:32:20 +0100
committerErik Johnston <erik@matrix.org>2018-08-16 15:32:20 +0100
commit7d5b1a60a3aa9f10e285e74295f407d19a3a9ad5 (patch)
tree004986982b97dae0ac3e32c576869e2e44793ed9
parentAdd GET media/v1/config (#3184) (diff)
downloadsynapse-7d5b1a60a3aa9f10e285e74295f407d19a3a9ad5.tar.xz
Fix inbound federation on reader worker
Inbound federation requires calculating push, which in turn relies on
having access to account data.
-rw-r--r--synapse/app/federation_reader.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/federation_reader.py b/synapse/app/federation_reader.py
index 52522e9d33..7d8105778d 100644
--- a/synapse/app/federation_reader.py
+++ b/synapse/app/federation_reader.py
@@ -32,6 +32,7 @@ from synapse.http.site import SynapseSite
 from synapse.metrics import RegistryProxy
 from synapse.metrics.resource import METRICS_PREFIX, MetricsResource
 from synapse.replication.slave.storage._base import BaseSlavedStore
+from synapse.replication.slave.storage.account_data import SlavedAccountDataStore
 from synapse.replication.slave.storage.appservice import SlavedApplicationServiceStore
 from synapse.replication.slave.storage.directory import DirectoryStore
 from synapse.replication.slave.storage.events import SlavedEventStore
@@ -54,6 +55,7 @@ logger = logging.getLogger("synapse.app.federation_reader")
 
 
 class FederationReaderSlavedStore(
+    SlavedAccountDataStore,
     SlavedProfileStore,
     SlavedApplicationServiceStore,
     SlavedPusherStore,