Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add missing storage function to slave store
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed May 22, 2017
1 parent 74bf4ee commit f85a415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapse/replication/slave/storage/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -45,6 +46,7 @@ def __init__(self, db_conn, hs):
_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()
Expand Down

0 comments on commit f85a415

Please sign in to comment.