From b65d546245b54504bc3dddd5fecab0ef4cf2717e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 29 Dec 2008 15:26:17 +0000 Subject: [PATCH] Merged r2195 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2197 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mail_handler.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index c235ca7fe..268b56497 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