summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-15 15:33:01 +0100
committerErik Johnston <erik@matrix.org>2015-05-15 15:33:01 +0100
commit8763dd80efd19d562a97a8d5af59b85bc3678d46 (patch)
tree69ba1c8ae3667e942fba8874aeb7e800dc46bb57 /synapse/storage
parentErr, defer.gatherResults ftw (diff)
downloadsynapse-8763dd80efd19d562a97a8d5af59b85bc3678d46.tar.xz
Don't fetch prev_content for current_state
Diffstat (limited to 'synapse/storage')
-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 b3f2a4dfa1..56f0572f7e 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -164,7 +164,7 @@ class StateStore(SQLBaseStore):
             return [r[0] for r in results]
 
         event_ids = yield self.runInteraction("get_current_state", f)
-        events = yield self._get_events(event_ids)
+        events = yield self._get_events(event_ids, get_prev_content=False)
         defer.returnValue(events)