Fix application of ACLs

This commit is contained in:
Erik Johnston 2015-08-11 10:41:40 +01:00
parent 10b874067b
commit 1b994a97dd
4 changed files with 33 additions and 17 deletions

View file

@ -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):