summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-30 18:43:39 +0100
committerErik Johnston <erik@matrix.org>2015-04-30 18:43:39 +0100
commit00718ae7a9e07e18cfd4c335012aacb5523fab86 (patch)
treedf4c4255d3b054ae05b48d014a88956a38732a11 /synapse
parentAdd missing param (diff)
downloadsynapse-00718ae7a9e07e18cfd4c335012aacb5523fab86.tar.xz
Need more yield
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index daf79c6c94..32d4ff84d4 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -149,7 +149,7 @@ class StateStore(SQLBaseStore):
 
             return self._parse_events_txn(txn, results)
 
-        events = self.runInteraction("get_current_state", f)
+        events = yield self.runInteraction("get_current_state", f)
         defer.returnValue(events)