summary refs log tree commit diff
path: root/synapse/app/pusher.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-10 19:05:22 +0200
committerDavid Baker <dave@matrix.org>2016-05-10 19:05:22 +0200
commit89b5ef7c4be824af4314497ad1338c2ac0e66ed8 (patch)
tree124474a1991dfa7e3522f133b339ac9f09e3a1ea /synapse/app/pusher.py
parentPass though _get_state_group_for_events (diff)
downloadsynapse-89b5ef7c4be824af4314497ad1338c2ac0e66ed8.tar.xz
Cached functions must be accessed through the dict
Diffstat (limited to '')
-rw-r--r--synapse/app/pusher.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py
index d59922422c..64371aaba8 100644
--- a/synapse/app/pusher.py
+++ b/synapse/app/pusher.py
@@ -23,6 +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.replication.slave.storage.events import SlavedEventStore
 from synapse.replication.slave.storage.pushers import SlavedPusherStore
 from synapse.replication.slave.storage.receipts import SlavedReceiptsStore
@@ -132,7 +133,7 @@ class PusherSlaveStore(
     )
 
     _get_state_group_for_events = (
-        DataStore._get_state_group_for_events.__func__
+        EventsStore.__dict__["_get_state_group_for_events"]
     )