summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-10 19:10:46 +0200
committerDavid Baker <dave@matrix.org>2016-05-10 19:10:46 +0200
commit90afc07f39cdb01dfd33a13ae5bdfb9d89505331 (patch)
tree901d1ea92a292d8be961d696c49c5f6a28ee10ea /synapse
parentCached functions must be accessed through the dict (diff)
downloadsynapse-90afc07f39cdb01dfd33a13ae5bdfb9d89505331.tar.xz
StateStore, not EventsStore
Diffstat (limited to '')
-rw-r--r--synapse/app/pusher.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py
index 64371aaba8..b0a42fe67c 100644
--- a/synapse/app/pusher.py
+++ b/synapse/app/pusher.py
@@ -23,7 +23,7 @@ from synapse.config.logger import LoggingConfig
 from synapse.config.emailconfig import EmailConfig
 from synapse.http.site import SynapseSite
 from synapse.metrics.resource import MetricsResource, METRICS_PREFIX
-from synapse.storage.events import EventsStore
+from synapse.storage.state import StateStore
 from synapse.replication.slave.storage.events import SlavedEventStore
 from synapse.replication.slave.storage.pushers import SlavedPusherStore
 from synapse.replication.slave.storage.receipts import SlavedReceiptsStore
@@ -133,7 +133,7 @@ class PusherSlaveStore(
     )
 
     _get_state_group_for_events = (
-        EventsStore.__dict__["_get_state_group_for_events"]
+        StateStore.__dict__["_get_state_group_for_events"]
     )