diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-09-06 18:16:20 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-09-06 18:16:20 +0100 |
commit | d4a35ada28302e096efd42e1a2a28542ed7ebd6f (patch) | |
tree | 679f1bf11e23af751c074728bbf1ebe8192c8c3b /synapse/server.py | |
parent | Add storage methods for federated device messages (diff) | |
download | synapse-d4a35ada28302e096efd42e1a2a28542ed7ebd6f.tar.xz |
Send device messages over federation
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py index af3246504b..f516f08167 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -35,6 +35,7 @@ from synapse.federation import initialize_http_replication from synapse.handlers import Handlers from synapse.handlers.appservice import ApplicationServicesHandler from synapse.handlers.auth import AuthHandler +from synapse.handlers.devicemessage import DeviceMessageHandler from synapse.handlers.device import DeviceHandler from synapse.handlers.e2e_keys import E2eKeysHandler from synapse.handlers.presence import PresenceHandler @@ -100,6 +101,7 @@ class HomeServer(object): 'application_service_api', 'application_service_scheduler', 'application_service_handler', + 'device_message_handler', 'notifier', 'distributor', 'client_resource', @@ -205,6 +207,9 @@ class HomeServer(object): def build_device_handler(self): return DeviceHandler(self) + def build_device_message_handler(self): + return DeviceMessageHandler(self) + def build_e2e_keys_handler(self): return E2eKeysHandler(self) |