StateStore, not EventsStore

This commit is contained in:
David Baker 2016-05-10 19:10:46 +02:00
parent 89b5ef7c4b
commit 90afc07f39

View File

@ -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"]
)