summary refs log tree commit diff
path: root/synapse/replication/slave
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-06-15 16:20:04 +0100
committerGitHub <noreply@github.com>2022-06-15 15:20:04 +0000
commit97e9fbe1b233d94325c23b9a27bc9d2d9d615f9e (patch)
treebc518832080635abfe27a0c0e6741452e106147d /synapse/replication/slave
parentSpeed up `get_unread_event_push_actions_by_room` (#13005) (diff)
downloadsynapse-97e9fbe1b233d94325c23b9a27bc9d2d9d615f9e.tar.xz
Type annotations in `synapse.databases.main.devices` (#13025)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Diffstat (limited to 'synapse/replication/slave')
-rw-r--r--synapse/replication/slave/storage/devices.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/replication/slave/storage/devices.py b/synapse/replication/slave/storage/devices.py
index 30717c2bd0..a48cc02069 100644
--- a/synapse/replication/slave/storage/devices.py
+++ b/synapse/replication/slave/storage/devices.py
@@ -19,13 +19,12 @@ from synapse.replication.slave.storage._slaved_id_tracker import SlavedIdTracker
 from synapse.replication.tcp.streams._base import DeviceListsStream, UserSignatureStream
 from synapse.storage.database import DatabasePool, LoggingDatabaseConnection
 from synapse.storage.databases.main.devices import DeviceWorkerStore
-from synapse.storage.databases.main.end_to_end_keys import EndToEndKeyWorkerStore
 
 if TYPE_CHECKING:
     from synapse.server import HomeServer
 
 
-class SlavedDeviceStore(EndToEndKeyWorkerStore, DeviceWorkerStore, BaseSlavedStore):
+class SlavedDeviceStore(DeviceWorkerStore, BaseSlavedStore):
     def __init__(
         self,
         database: DatabasePool,