summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-11 10:41:40 +0100
committerErik Johnston <erik@matrix.org>2015-08-11 10:41:40 +0100
commit1b994a97dd201d0f122a416f28dbbf1136304412 (patch)
treed49691e22602acb41f3f26a521dfae65241bd1aa /synapse/storage/state.py
parentFix state cache (diff)
downloadsynapse-1b994a97dd201d0f122a416f28dbbf1136304412.tar.xz
Fix application of ACLs
Diffstat (limited to '')
-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 19b16ed404..a438530071 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -239,10 +239,10 @@ class StateStore(SQLBaseStore):
             for event_id, group in event_to_groups.items()
         }
 
-        defer.returnValue([
-            event_to_state[event]
+        defer.returnValue({
+            event: event_to_state[event]
             for event in event_ids
-        ])
+        })
 
     @cached(num_args=2, lru=True, max_entries=100000)
     def _get_state_group_for_event(self, room_id, event_id):