summary refs log tree commit diff
path: root/synapse/rest/__init__.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-08-26 15:43:35 +0100
committerGitHub <noreply@github.com>2016-08-26 15:43:35 +0100
commit8c1e746f54dc7f949110f24a990dee9a1cd3b0e5 (patch)
treecc2e7458da160915f7224c0487f185e2433eaadb /synapse/rest/__init__.py
parentMerge pull request #1048 from matrix-org/erikj/fix_mail_name (diff)
parentMerge remote-tracking branch 'origin/develop' into markjh/direct_to_device (diff)
downloadsynapse-8c1e746f54dc7f949110f24a990dee9a1cd3b0e5.tar.xz
Merge pull request #1046 from matrix-org/markjh/direct_to_device
Start adding store-and-forward direct-to-device messaging
Diffstat (limited to 'synapse/rest/__init__.py')
-rw-r--r--synapse/rest/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/__init__.py b/synapse/rest/__init__.py
index 326780405e..f9f5a3e077 100644
--- a/synapse/rest/__init__.py
+++ b/synapse/rest/__init__.py
@@ -49,6 +49,7 @@ from synapse.rest.client.v2_alpha import (
     notifications,
     devices,
     thirdparty,
+    sendtodevice,
 )
 
 from synapse.http.server import JsonResource
@@ -96,3 +97,4 @@ class ClientRestResource(JsonResource):
         notifications.register_servlets(hs, client_resource)
         devices.register_servlets(hs, client_resource)
         thirdparty.register_servlets(hs, client_resource)
+        sendtodevice.register_servlets(hs, client_resource)