forked from p85947160/gitea
Also create notification while commenting on issue
This commit is contained in:
parent
c3810c6d43
commit
8a3c856b1c
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue