summary refs log tree commit diff
path: root/synapse/handlers/devicemessage.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-12 16:17:08 +0000
committerErik Johnston <erik@matrix.org>2018-03-13 10:24:27 +0000
commitc3f79c9da56931453ab86a4c726da5a02f18fe1e (patch)
treed06b4ff02b8fd178572002d34a9305af87ad564c /synapse/handlers/devicemessage.py
parentMerge pull request #2962 from matrix-org/rav/purge_history_txns (diff)
downloadsynapse-c3f79c9da56931453ab86a4c726da5a02f18fe1e.tar.xz
Split out edu/query registration to a separate class
Diffstat (limited to 'synapse/handlers/devicemessage.py')
-rw-r--r--synapse/handlers/devicemessage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/devicemessage.py b/synapse/handlers/devicemessage.py
index d996aa90bb..f147a20b73 100644
--- a/synapse/handlers/devicemessage.py
+++ b/synapse/handlers/devicemessage.py
@@ -37,7 +37,7 @@ class DeviceMessageHandler(object):
         self.is_mine = hs.is_mine
         self.federation = hs.get_federation_sender()
 
-        hs.get_replication_layer().register_edu_handler(
+        hs.get_federation_registry().register_edu_handler(
             "m.direct_to_device", self.on_direct_to_device_edu
         )