summary refs log tree commit diff
path: root/synapse/handlers/device.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-12 14:34:31 +0000
committerErik Johnston <erik@matrix.org>2018-03-13 10:55:47 +0000
commit265b993b8afd2501b2aa3a50670f39d6d97eddb7 (patch)
tree65949cc5f26498dde00051dfb552073f5a541485 /synapse/handlers/device.py
parentMove property setting from ReplicationLayer to FederationBase (diff)
downloadsynapse-265b993b8afd2501b2aa3a50670f39d6d97eddb7.tar.xz
Split replication layer into two
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r--synapse/handlers/device.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index 9e58dbe64e..fcf41630d6 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -37,7 +37,6 @@ class DeviceHandler(BaseHandler):
         self.state = hs.get_state_handler()
         self._auth_handler = hs.get_auth_handler()
         self.federation_sender = hs.get_federation_sender()
-        self.federation = hs.get_replication_layer()
 
         self._edu_updater = DeviceListEduUpdater(hs, self)
 
@@ -432,7 +431,7 @@ class DeviceListEduUpdater(object):
 
     def __init__(self, hs, device_handler):
         self.store = hs.get_datastore()
-        self.federation = hs.get_replication_layer()
+        self.federation = hs.get_replication_client()
         self.clock = hs.get_clock()
         self.device_handler = device_handler