summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/app/federation_reader.py2
-rw-r--r--synapse/storage/events_worker.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/synapse/app/federation_reader.py b/synapse/app/federation_reader.py
index c512b4be87..0c557a8242 100644
--- a/synapse/app/federation_reader.py
+++ b/synapse/app/federation_reader.py
@@ -36,6 +36,7 @@ from synapse.replication.slave.storage.appservice import SlavedApplicationServic
 from synapse.replication.slave.storage.directory import DirectoryStore
 from synapse.replication.slave.storage.events import SlavedEventStore
 from synapse.replication.slave.storage.keys import SlavedKeyStore
+from synapse.replication.slave.storage.profile import SlavedProfileStore
 from synapse.replication.slave.storage.push_rule import SlavedPushRuleStore
 from synapse.replication.slave.storage.pushers import SlavedPusherStore
 from synapse.replication.slave.storage.receipts import SlavedReceiptsStore
@@ -53,6 +54,7 @@ logger = logging.getLogger("synapse.app.federation_reader")
 
 
 class FederationReaderSlavedStore(
+    SlavedProfileStore,
     SlavedApplicationServiceStore,
     SlavedPusherStore,
     SlavedPushRuleStore,
diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py
index e1dc2c62fd..59822178ff 100644
--- a/synapse/storage/events_worker.py
+++ b/synapse/storage/events_worker.py
@@ -14,7 +14,6 @@
 # limitations under the License.
 import itertools
 import logging
-
 from collections import namedtuple
 
 from canonicaljson import json