Don't generate push actions for our own events

pull/511/head
David Baker 2016-01-20 13:24:59 +00:00
parent af30140621
commit 259d1ecd1d
1 changed files with 3 additions and 0 deletions

View File

@ -107,6 +107,9 @@ class BulkPushRuleEvaluator:
if len(filtered) == 0:
continue
if filtered.sender == uid:
continue
for rule in rules:
if 'enabled' in rule and not rule['enabled']:
continue