Glue AS work to general event notifications. Add more exception handling when poking ASes.

This commit is contained in:
Kegan Dougal 2015-02-05 13:19:46 +00:00
parent bc658907f0
commit 51d63ac329
4 changed files with 42 additions and 16 deletions

View file

@ -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"]