diff --git a/routers/repo/issue.go b/routers/repo/issue.go index d2c5be9ed..e09374ce9 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -903,6 +903,11 @@ func NewComment(ctx *context.Context, form auth.CreateCommentForm) { return } + if err := models.CreateOrUpdateIssueNotifications(issue); err != nil { + ctx.Handle(500, "CreateOrUpdateIssueNotifications", err) + return + } + log.Trace("Comment created: %d/%d/%d", ctx.Repo.Repository.ID, issue.ID, comment.ID) }