mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Store push actions in staging area
This commit is contained in:
parent
6ed9ff69c2
commit
acac21248c
3 changed files with 54 additions and 0 deletions
|
@ -191,6 +191,9 @@ class BulkPushRuleEvaluator(object):
|
|||
actions = [x for x in rule['actions'] if x != 'dont_notify']
|
||||
if actions and 'notify' in actions:
|
||||
actions_by_user[uid] = actions
|
||||
yield self.store.add_push_actions_to_staging(
|
||||
event.event_id, uid, actions,
|
||||
)
|
||||
break
|
||||
defer.returnValue(actions_by_user)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue