summary refs log tree commit diff
path: root/synapse/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-09-11 11:07:22 +0100
committerErik Johnston <erik@matrix.org>2015-09-17 10:24:51 +0100
commit4678055173636f9940e77f1af35b888f99506030 (patch)
tree2d04c5fe182ddf36d90b0696463302b2880a07e0 /synapse/state.py
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-4678055173636f9940e77f1af35b888f99506030.tar.xz
Refactor do_invite_join
Diffstat (limited to '')
-rw-r--r--synapse/state.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/state.py b/synapse/state.py
index 1fe4d066bd..ed36f844cb 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -17,7 +17,6 @@
 from twisted.internet import defer
 
 from synapse.util.logutils import log_function
-from synapse.util.async import run_on_reactor
 from synapse.util.caches.expiringcache import ExpiringCache
 from synapse.api.constants import EventTypes
 from synapse.api.errors import AuthError
@@ -119,8 +118,6 @@ class StateHandler(object):
         Returns:
             an EventContext
         """
-        yield run_on_reactor()
-
         context = EventContext()
 
         if outlier: