summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-11 17:19:21 +0100
committerErik Johnston <erik@matrix.org>2015-08-11 17:19:21 +0100
commit40affadaaa416aa341b84685df3f336d68467aff (patch)
tree617dd00c278830309034a84ec188ea8dc8077775 /synapse/storage
parentLower cache size (diff)
downloadsynapse-40affadaaa416aa341b84685df3f336d68467aff.tar.xz
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/state.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index d0e99d4d70..a2b7eab42d 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -316,10 +316,10 @@ class StateStore(SQLBaseStore):
             for event_id, state_ids in event_to_state_ids.items()
         }
 
-        defer.returnValue([
-            event_to_state[event]
+        defer.returnValue({
+            event: event_to_state[event]
             for event in event_ids
-        ])
+        })
 
 
 def _make_group_id(clock):