diff options
author | Erik Johnston <erik@matrix.org> | 2016-11-16 14:28:03 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-11-16 14:47:52 +0000 |
commit | 59ef517e6bc63b2613f18c9b85356a0f973f5698 (patch) | |
tree | 277cafe08a8b1dff46acbee2273c59a859386a53 /synapse/handlers/devicemessage.py | |
parent | Add transaction queue and transport layer to DI (diff) | |
download | synapse-59ef517e6bc63b2613f18c9b85356a0f973f5698.tar.xz |
Use new federation_sender DI
Diffstat (limited to 'synapse/handlers/devicemessage.py')
-rw-r--r-- | synapse/handlers/devicemessage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/devicemessage.py b/synapse/handlers/devicemessage.py index c5368e5df2..f7fad15c62 100644 --- a/synapse/handlers/devicemessage.py +++ b/synapse/handlers/devicemessage.py @@ -34,9 +34,9 @@ class DeviceMessageHandler(object): self.store = hs.get_datastore() self.notifier = hs.get_notifier() self.is_mine_id = hs.is_mine_id - self.federation = hs.get_replication_layer() + self.federation = hs.get_federation_sender() - self.federation.register_edu_handler( + hs.get_replication_layer().register_edu_handler( "m.direct_to_device", self.on_direct_to_device_edu ) |