diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-25 17:32:22 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-25 17:32:22 +0100 |
commit | a3dc1e9cbe491aa981b8bbaeb2414b4ec8e5b9ca (patch) | |
tree | d7414c7b98aac2aeb1486285cb2774c2273fba1e /synapse/push/action_generator.py | |
parent | Pull out event ids rather than full events for state (diff) | |
download | synapse-a3dc1e9cbe491aa981b8bbaeb2414b4ec8e5b9ca.tar.xz |
Replace context.current_state with context.current_state_ids
Diffstat (limited to 'synapse/push/action_generator.py')
-rw-r--r-- | synapse/push/action_generator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/action_generator.py b/synapse/push/action_generator.py index ed2ccc4dfb..3f75d3f921 100644 --- a/synapse/push/action_generator.py +++ b/synapse/push/action_generator.py @@ -40,12 +40,12 @@ class ActionGenerator: def handle_push_actions_for_event(self, event, context): with Measure(self.clock, "evaluator_for_event"): bulk_evaluator = yield evaluator_for_event( - event, self.hs, self.store, context.state_group, context.current_state + event, self.hs, self.store, context ) with Measure(self.clock, "action_for_event_by_user"): actions_by_user = yield bulk_evaluator.action_for_event_by_user( - event, context.current_state + event, context ) context.push_actions = [ |