mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-07-25 02:45:16 -04:00
Remove context.push_actions
This commit is contained in:
parent
c714c61853
commit
4810f7effd
5 changed files with 11 additions and 20 deletions
|
@ -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()
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue