diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-13 13:17:08 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-13 13:17:08 +0000 |
commit | bf8e97bd3c11a4bdae9dcf255922b1ac2d03f5b3 (patch) | |
tree | 42423f71093a796415971f66ec4a24712bab42c2 /synapse/handlers/device.py | |
parent | Add docstring (diff) | |
parent | Merge pull request #2980 from matrix-org/erikj/rm_priv (diff) | |
download | synapse-bf8e97bd3c11a4bdae9dcf255922b1ac2d03f5b3.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/factor_remote_leave
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r-- | synapse/handlers/device.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index 0e83453851..9e58dbe64e 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -41,10 +41,12 @@ class DeviceHandler(BaseHandler): self._edu_updater = DeviceListEduUpdater(hs, self) - self.federation.register_edu_handler( + federation_registry = hs.get_federation_registry() + + federation_registry.register_edu_handler( "m.device_list_update", self._edu_updater.incoming_device_list_update, ) - self.federation.register_query_handler( + federation_registry.register_query_handler( "user_devices", self.on_federation_query_user_devices, ) |