summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-22 16:31:24 +0100
committerErik Johnston <erik@matrix.org>2017-05-22 16:31:24 +0100
commitf85a4152796d7ec39787b00fb4f177d682fe41fb (patch)
treed14a96a8ccd453c76a74e08a2c3cdd9b740be60a
parentStream count_e2e_one_time_keys cache invalidation (diff)
downloadsynapse-f85a4152796d7ec39787b00fb4f177d682fe41fb.tar.xz
Add missing storage function to slave store
-rw-r--r--synapse/replication/slave/storage/devices.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/devices.py b/synapse/replication/slave/storage/devices.py
index 4d4a435471..7687867aee 100644
--- a/synapse/replication/slave/storage/devices.py
+++ b/synapse/replication/slave/storage/devices.py
@@ -16,6 +16,7 @@
 from ._base import BaseSlavedStore
 from ._slaved_id_tracker import SlavedIdTracker
 from synapse.storage import DataStore
+from synapse.storage.end_to_end_keys import EndToEndKeyStore
 from synapse.util.caches.stream_change_cache import StreamChangeCache
 
 
@@ -45,6 +46,7 @@ class SlavedDeviceStore(BaseSlavedStore):
     _mark_as_sent_devices_by_remote_txn = (
         DataStore._mark_as_sent_devices_by_remote_txn.__func__
     )
+    count_e2e_one_time_keys = EndToEndKeyStore.__dict__["count_e2e_one_time_keys"]
 
     def stream_positions(self):
         result = super(SlavedDeviceStore, self).stream_positions()