diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-05-11 13:42:37 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-05-11 13:42:37 +0100 |
commit | 7e23476814b2cd3c8cd8ef87d2b312fbca400da6 (patch) | |
tree | dad8cba95c135c0111e035a0b4f32137b832e38f /synapse/push/action_generator.py | |
parent | Merge pull request #776 from matrix-org/markjh/lazy_signing_key (diff) | |
download | synapse-7e23476814b2cd3c8cd8ef87d2b312fbca400da6.tar.xz |
move filter_events_for_client out of base handler
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 a0160994b7..9b208668b6 100644 --- a/synapse/push/action_generator.py +++ b/synapse/push/action_generator.py @@ -37,14 +37,14 @@ class ActionGenerator: # tag (ie. we just need all the users). @defer.inlineCallbacks - def handle_push_actions_for_event(self, event, context, handler): + 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 ) actions_by_user = yield bulk_evaluator.action_for_event_by_user( - event, handler, context.current_state + event, context.current_state ) context.push_actions = [ |