Skip to content
Snippets Groups Projects
Commit 3fe8c567 authored by David Baker's avatar David Baker
Browse files

Better fix for actions with both dont_notify and tweaks

parent 60965bd7
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment