summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-11 10:36:08 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-11 10:36:08 +0000
commitc7783d6feec9b69c24f3303cbb51cce3e6b8ffb3 (patch)
tree0b15fab036089ac0d9516c8b74a2976c5566b94d /synapse/rest
parentMerge branch 'develop' into application-services (diff)
downloadsynapse-c7783d6feec9b69c24f3303cbb51cce3e6b8ffb3.tar.xz
Notify ASes for events sent by other users in a room which an AS user is a part of.
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/appservice/v1/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/appservice/v1/__init__.py b/synapse/rest/appservice/v1/__init__.py
index bf243b6180..a7877609ad 100644
--- a/synapse/rest/appservice/v1/__init__.py
+++ b/synapse/rest/appservice/v1/__init__.py
@@ -21,9 +21,9 @@ class AppServiceRestResource(JsonResource):
     """A resource for version 1 of the matrix application service API."""
 
     def __init__(self, hs):
-        JsonResource.__init__(self)
+        JsonResource.__init__(self, hs)
         self.register_servlets(self, hs)
 
     @staticmethod
     def register_servlets(appservice_resource, hs):
-        register.register_servlets(hs, appservice_resource)
\ No newline at end of file
+        register.register_servlets(hs, appservice_resource)