diff options
author | Erik Johnston <erik@matrix.org> | 2014-10-29 16:59:24 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-10-29 16:59:24 +0000 |
commit | e7858b6d7ef37849a3d2d5004743cdd21ec330a8 (patch) | |
tree | be917c0b61075a287f169ec5210a0b2dab563603 /synapse/handlers/_base.py | |
parent | Don't reference PDU when persisting event (diff) | |
download | synapse-e7858b6d7ef37849a3d2d5004743cdd21ec330a8.tar.xz |
Start filling out and using new events tables
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r-- | synapse/handlers/_base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py index cd6c35f194..787a01efc5 100644 --- a/synapse/handlers/_base.py +++ b/synapse/handlers/_base.py @@ -16,6 +16,8 @@ from twisted.internet import defer from synapse.api.errors import LimitExceededError +from synapse.util.async import run_on_reactor + class BaseHandler(object): def __init__(self, hs): @@ -45,6 +47,8 @@ class BaseHandler(object): @defer.inlineCallbacks def _on_new_room_event(self, event, snapshot, extra_destinations=[], extra_users=[], suppress_auth=False): + yield run_on_reactor() + snapshot.fill_out_prev_events(event) yield self.state_handler.annotate_state_groups(event) |