summary refs log tree commit diff
path: root/synapse/rest/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-31 14:11:55 +0100
committerErik Johnston <erik@matrix.org>2017-05-31 14:11:55 +0100
commit45a5df59147d9c5c4f2cdacaf92179e5935cd68a (patch)
treef8e67194760137a468b5613ba85e9e249540f21e /synapse/rest/__init__.py
parentAdd search (diff)
downloadsynapse-45a5df59147d9c5c4f2cdacaf92179e5935cd68a.tar.xz
Add REST API
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 aa8d874f96..3d809d181b 100644
--- a/synapse/rest/__init__.py
+++ b/synapse/rest/__init__.py
@@ -51,6 +51,7 @@ from synapse.rest.client.v2_alpha import (
     devices,
     thirdparty,
     sendtodevice,
+    user_directory,
 )
 
 from synapse.http.server import JsonResource
@@ -100,3 +101,4 @@ class ClientRestResource(JsonResource):
         devices.register_servlets(hs, client_resource)
         thirdparty.register_servlets(hs, client_resource)
         sendtodevice.register_servlets(hs, client_resource)
+        user_directory.register_servlets(hs, client_resource)