diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/mail_handler.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index a7264d483..d7fbfbaf1 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -93,11 +93,10 @@ class MailHandler < ActionMailer::Base issue.save! add_attachments(issue) logger.info "MailHandler: issue ##{issue.id} created by #{user}" if logger && logger.info - # send notification before adding watchers since they were cc'ed - Mailer.deliver_issue_add(issue) if Setting.notified_events.include?('issue_added') # add To and Cc as watchers add_watchers(issue) - + # send notification after adding watchers so that they can reply to Redmine + Mailer.deliver_issue_add(issue) if Setting.notified_events.include?('issue_added') issue end |