diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-11 17:19:21 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-11 17:19:21 +0100 |
commit | 40affadaaa416aa341b84685df3f336d68467aff (patch) | |
tree | 617dd00c278830309034a84ec188ea8dc8077775 /synapse/storage | |
parent | Lower cache size (diff) | |
download | synapse-40affadaaa416aa341b84685df3f336d68467aff.tar.xz |
Fix ACL filtering github/erikj/acl_perf erikj/acl_perf
Diffstat (limited to 'synapse/storage')
-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 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): |