diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-02-05 13:19:46 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-02-05 13:19:46 +0000 |
commit | 51d63ac329a2613c0a7195e6183d70f789b7d823 (patch) | |
tree | b8a0c41fefa5b141865025cfbc4ef0a83d6e346d /synapse/notifier.py | |
parent | Add unit test for appservice_handler.query_room_alias_exists (diff) | |
download | synapse-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.py | 6 |
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"] |