summary refs log tree commit diff
path: root/synapse/handlers/__init__.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-05 17:04:59 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-05 17:04:59 +0000
commit11e6b3d18b5ae95857e01884960a01b9ea4d307d (patch)
tree34b03e7fd032f8cb6514fc2c014d4582b9ebd9d4 /synapse/handlers/__init__.py
parentAdd delta sql file. (diff)
downloadsynapse-11e6b3d18b5ae95857e01884960a01b9ea4d307d.tar.xz
Dependency inject ApplicationServiceApi when creating ApplicationServicesHandler.
Diffstat (limited to 'synapse/handlers/__init__.py')
-rw-r--r--synapse/handlers/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/handlers/__init__.py b/synapse/handlers/__init__.py
index b31518bf62..8d345bf936 100644
--- a/synapse/handlers/__init__.py
+++ b/synapse/handlers/__init__.py
@@ -13,6 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+from synapse.appservice.api import ApplicationServiceApi
 from .register import RegistrationHandler
 from .room import (
     RoomCreationHandler, RoomMemberHandler, RoomListHandler
@@ -53,5 +54,7 @@ class Handlers(object):
         self.directory_handler = DirectoryHandler(hs)
         self.typing_notification_handler = TypingNotificationHandler(hs)
         self.admin_handler = AdminHandler(hs)
-        self.appservice_handler = ApplicationServicesHandler(hs)
+        self.appservice_handler = ApplicationServicesHandler(
+            hs, ApplicationServiceApi(hs)
+        )
         self.sync_handler = SyncHandler(hs)