Skip to content
Snippets Groups Projects
Commit e8454340 authored by Erik Johnston's avatar Erik Johnston
Browse files

Remove run_on_reactor()s

parent 4af32a28
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,6 @@ class BaseHandler(object):
@defer.inlineCallbacks
def _create_new_client_event(self, builder):
yield run_on_reactor()
latest_ret = yield self.store.get_latest_events_in_room(
builder.room_id,
)
......@@ -101,8 +99,6 @@ class BaseHandler(object):
@defer.inlineCallbacks
def handle_new_client_event(self, event, context, extra_destinations=[],
extra_users=[], suppress_auth=False):
yield run_on_reactor()
# We now need to go and hit out to wherever we need to hit out to.
if not suppress_auth:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment