summary refs log tree commit diff
path: root/synapse/handlers/device.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-25 16:55:21 +0000
committerErik Johnston <erik@matrix.org>2017-01-25 16:55:21 +0000
commit51e9fe36e46331ac611cec1d4cb425c1bc98721c (patch)
treea9d5168dec204d7231280c3cbe9d82fa993e8f9e /synapse/handlers/device.py
parentAdd basic implementation of local device list changes (diff)
downloadsynapse-51e9fe36e46331ac611cec1d4cb425c1bc98721c.tar.xz
Fix up sending of m.device_list_update edus
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r--synapse/handlers/device.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index d92780b642..ba4c48d590 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -29,6 +29,7 @@ class DeviceHandler(BaseHandler):
         super(DeviceHandler, self).__init__(hs)
 
         self.state = hs.get_state_handler()
+        self.federation = hs.get_federation_sender()
 
     @defer.inlineCallbacks
     def check_device_registered(self, user_id, device_id,