Better fix for actions with both dont_notify and tweaks

pull/523/head
David Baker 2016-01-22 17:21:58 +00:00
parent 60965bd7e5
commit 3fe8c56736
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class BulkPushRuleEvaluator:
)
if matches:
actions = [x for x in rule['actions'] if x != 'dont_notify']
if actions:
if actions and 'notify' in actions:
actions_by_user[uid] = actions
break
defer.returnValue(actions_by_user)