From 67b316a954b161cac27e16b6455837881919dd94 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 16 Dec 2019 05:57:34 +0800 Subject: Refactor comment (#9330) * Refactor comment * fix test * improve code --- modules/notification/mail/mail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/notification/mail') diff --git a/modules/notification/mail/mail.go b/modules/notification/mail/mail.go index 558c9a6243..38146cef2e 100644 --- a/modules/notification/mail/mail.go +++ b/modules/notification/mail/mail.go @@ -51,7 +51,7 @@ func (m *mailNotifier) NotifyNewIssue(issue *models.Issue) { } } -func (m *mailNotifier) NotifyIssueChangeStatus(doer *models.User, issue *models.Issue, isClosed bool) { +func (m *mailNotifier) NotifyIssueChangeStatus(doer *models.User, issue *models.Issue, actionComment *models.Comment, isClosed bool) { var actionType models.ActionType if issue.IsPull { if isClosed { -- cgit v1.2.3