fix: refactoring error

This commit is contained in:
Élie Bouttier 2014-09-29 23:42:18 +02:00
parent 2d724f0c82
commit 36ac660fa5

View file

@ -84,7 +84,7 @@ def notify_by_email(data, template, subject, sender, dests):
if dest.notifications == User.NOTIFICATIONS_NEVER:
continue
if dest == issue.author \
if dest == sender \
and dest.notifications == User.NOTIFICATIONS_OTHERS:
continue
dest_addr = dest.email