summaryrefslogtreecommitdiffstats
path: root/models/issue_comment.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-08-30 12:31:33 +0800
committerLauris BH <lauris@nix.lv>2017-08-30 07:31:33 +0300
commit5de94a67cf09ae21254269058d86f71fe05ea243 (patch)
treec513645ae0024ccec3d93bd1466315fce473cf80 /models/issue_comment.go
parentedc817a1dcb5a65fceb9d2da17288b6c4ce18147 (diff)
downloadgitea-5de94a67cf09ae21254269058d86f71fe05ea243.tar.gz
gitea-5de94a67cf09ae21254269058d86f71fe05ea243.zip
some refactors for issue and comments (#2419)
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r--models/issue_comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go
index 753e79b3d3..79fa23960d 100644
--- a/models/issue_comment.go
+++ b/models/issue_comment.go
@@ -289,7 +289,7 @@ func (c *Comment) MailParticipants(e Engine, opType ActionType, issue *Issue) (e
case ActionReopenIssue:
issue.Content = fmt.Sprintf("Reopened #%d", issue.Index)
}
- if err = mailIssueCommentToParticipants(issue, c.Poster, c, mentions); err != nil {
+ if err = mailIssueCommentToParticipants(e, issue, c.Poster, c, mentions); err != nil {
log.Error(4, "mailIssueCommentToParticipants: %v", err)
}