summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-05 13:19:46 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-05 13:19:46 +0000
commit51d63ac329a2613c0a7195e6183d70f789b7d823 (patch)
treeb8a0c41fefa5b141865025cfbc4ef0a83d6e346d /synapse/notifier.py
parentAdd unit test for appservice_handler.query_room_alias_exists (diff)
downloadsynapse-51d63ac329a2613c0a7195e6183d70f789b7d823.tar.xz
Glue AS work to general event notifications. Add more exception handling when poking ASes.
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index e3b6ead620..c7f75ab801 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -99,6 +99,12 @@ class Notifier(object):
         `extra_users` param.
         """
         yield run_on_reactor()
+
+        # poke any interested application service.
+        self.hs.get_handlers().appservice_handler.notify_interested_services(
+            event
+        )
+
         room_id = event.room_id
 
         room_source = self.event_sources.sources["room"]