Use state to calculate get_users_in_room

This commit is contained in:
Erik Johnston 2016-06-01 11:08:45 +01:00
parent 43db0d9f6a
commit c8285564a3
5 changed files with 47 additions and 30 deletions

View file

@ -40,7 +40,7 @@ class ActionGenerator:
def handle_push_actions_for_event(self, event, context):
with Measure(self.clock, "handle_push_actions_for_event"):
bulk_evaluator = yield evaluator_for_event(
event, self.hs, self.store
event, self.hs, self.store, context.current_state
)
actions_by_user = yield bulk_evaluator.action_for_event_by_user(