summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-08-28 16:17:41 +0800
committerHeinrich Lee Yu <heinrich@gitlab.com>2019-08-29 09:41:57 +0800
commit55d0df7a9f106687a2a252cf70b403bfebb9942c (patch)
tree1af2b4d710a7d0b77a9e950be8c05a8b2bab8d5c /app/mailers
parentb34120336d33e57d9817559f82771f8da4f5f2b3 (diff)
downloadgitlab-ce-55d0df7a9f106687a2a252cf70b403bfebb9942c.tar.gz
Fix issue due notification emails threading66524-issue-due-notification-emails-are-threaded-incorrectly
It should not be a start to a new thread but rather a reply to an existing thread
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/emails/issues.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/emails/issues.rb b/app/mailers/emails/issues.rb
index f3a3203f7ad..542085ea307 100644
--- a/app/mailers/emails/issues.rb
+++ b/app/mailers/emails/issues.rb
@@ -11,7 +11,7 @@ module Emails
def issue_due_email(recipient_id, issue_id, reason = nil)
setup_issue_mail(issue_id, recipient_id)
- mail_new_thread(@issue, issue_thread_options(@issue.author_id, recipient_id, reason))
+ mail_answer_thread(@issue, issue_thread_options(@issue.author_id, recipient_id, reason))
end
def new_mention_in_issue_email(recipient_id, issue_id, updated_by_user_id, reason = nil)