aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-12-20 19:31:05 -0300
committerzeripath <art27@cantab.net>2019-12-20 22:31:05 +0000
commit4f42e03a3504e326b4f61969b796e8548598c49d (patch)
tree1e43a91bd37c907751b2d908dfac2f295fc88634 /modules
parentf8a6eb8f32c6626cf65753481a332ed8f86bff82 (diff)
downloadgitea-4f42e03a3504e326b4f61969b796e8548598c49d.tar.gz
gitea-4f42e03a3504e326b4f61969b796e8548598c49d.zip
Fix wrong notification on merge (#9450)
Diffstat (limited to 'modules')
-rw-r--r--modules/notification/mail/mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/notification/mail/mail.go b/modules/notification/mail/mail.go
index 38146cef2e..e9a6ad7af2 100644
--- a/modules/notification/mail/mail.go
+++ b/modules/notification/mail/mail.go
@@ -106,7 +106,7 @@ func (m *mailNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *mode
return
}
- if err := mailer.MailParticipants(pr.Issue, doer, models.ActionClosePullRequest); err != nil {
+ if err := mailer.MailParticipants(pr.Issue, doer, models.ActionMergePullRequest); err != nil {
log.Error("MailParticipants: %v", err)
}
}