fix: refactoring error
This commit is contained in:
parent
2d724f0c82
commit
36ac660fa5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue