diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-08-26 19:49:42 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-08-26 19:49:42 +0100 |
commit | d2798de660c84dea775f3c79ff8200baf084d244 (patch) | |
tree | 11501e9446fe13244e2e5e71d0747f32a124e1e1 /synapse/handlers/_base.py | |
parent | Use store.persist_event rather than pdu_actions.persist_outgoing/pdu_actions.... (diff) | |
download | synapse-d2798de660c84dea775f3c79ff8200baf084d244.tar.xz |
Fold federation/handler into handlers/federation
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r-- | synapse/handlers/_base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py index 32c0d6b8aa..00da47bb5d 100644 --- a/synapse/handlers/_base.py +++ b/synapse/handlers/_base.py @@ -43,4 +43,5 @@ class BaseRoomHandler(BaseHandler): self.notifier.on_new_room_event(event, store_id) - yield self.hs.get_federation().handle_new_event(event, snapshot) + federation_handler = self.hs.get_handlers().federation_handler + yield federation_handler.handle_new_event(event, snapshot) |