summary refs log tree commit diff
diff options
context:
space:
mode:
-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)