summary refs log tree commit diff
path: root/synapse/rest/appservice/v1/base.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-01-27 15:50:28 +0000
committerKegan Dougal <kegan@matrix.org>2015-01-27 15:50:28 +0000
commit51449e06654c4af7a645124dc64e1f0cc1678b24 (patch)
tree3141bc69fba6f1e6088f9f5b496845e2aa6c9637 /synapse/rest/appservice/v1/base.py
parentParse /register and /unregister request JSON. (diff)
downloadsynapse-51449e06654c4af7a645124dc64e1f0cc1678b24.tar.xz
Add appservice handler and store. Glue together rest > handler > store.
Diffstat (limited to 'synapse/rest/appservice/v1/base.py')
-rw-r--r--synapse/rest/appservice/v1/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/rest/appservice/v1/base.py b/synapse/rest/appservice/v1/base.py
index 46c9a444c0..65d5bcf9be 100644
--- a/synapse/rest/appservice/v1/base.py
+++ b/synapse/rest/appservice/v1/base.py
@@ -44,4 +44,5 @@ class AppServiceRestServlet(RestServlet):
     """
 
     def __init__(self, hs):
-        self.hs = hs
\ No newline at end of file
+        self.hs = hs
+        self.handler = hs.get_handlers().appservice_handler