@@ -389,7 +389,8 class Mailer < ActionMailer::Base | |||
|
389 | 389 | 'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>" |
|
390 | 390 | |
|
391 | 391 | # Removes the author from the recipients and cc |
|
392 |
# if |
|
|
392 | # if the author does not want to receive notifications | |
|
393 | # about what the author do | |
|
393 | 394 | if @author && @author.logged? && @author.pref.no_self_notified |
|
394 | 395 | headers[:to].delete(@author.mail) if headers[:to].is_a?(Array) |
|
395 | 396 | headers[:cc].delete(@author.mail) if headers[:cc].is_a?(Array) |
General Comments 0
You need to be logged in to leave comments.
Login now