summary refs log tree commit diff
path: root/synapse/push/action_generator.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-02-15 15:18:37 +0000
committerErik Johnston <erik@matrix.org>2018-02-15 15:47:06 +0000
commit4810f7effd0fc3fd97f9edaf8ea0af48477adb0a (patch)
treef0aa8f41febaf3341e6c48f7b7fd66e9919b8030 /synapse/push/action_generator.py
parentUpdate event_push_actions table from staging table (diff)
downloadsynapse-4810f7effd0fc3fd97f9edaf8ea0af48477adb0a.tar.xz
Remove context.push_actions
Diffstat (limited to 'synapse/push/action_generator.py')
-rw-r--r--synapse/push/action_generator.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/push/action_generator.py b/synapse/push/action_generator.py

index fe09d50d55..8f619a7a1b 100644 --- a/synapse/push/action_generator.py +++ b/synapse/push/action_generator.py
@@ -40,10 +40,6 @@ class ActionGenerator(object): @defer.inlineCallbacks def handle_push_actions_for_event(self, event, context): with Measure(self.clock, "action_for_event_by_user"): - actions_by_user = yield self.bulk_evaluator.action_for_event_by_user( + yield self.bulk_evaluator.action_for_event_by_user( event, context ) - - context.push_actions = [ - (uid, actions) for uid, actions in actions_by_user.iteritems() - ]