diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-11 10:41:40 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-11 10:41:40 +0100 |
commit | 1b994a97dd201d0f122a416f28dbbf1136304412 (patch) | |
tree | d49691e22602acb41f3f26a521dfae65241bd1aa /synapse/storage/state.py | |
parent | Fix state cache (diff) | |
download | synapse-1b994a97dd201d0f122a416f28dbbf1136304412.tar.xz |
Fix application of ACLs
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/state.py | 6 |
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): |