forked from forgejo/forgejo
Notifying on open PR, and Close/Reopen/Merge issue or PR
This commit is contained in:
parent
bb5a6b7a07
commit
27d30f1a61
2 changed files with 8 additions and 0 deletions
|
@ -875,6 +875,8 @@ func NewComment(ctx *context.Context, form auth.CreateCommentForm) {
|
|||
log.Error(4, "ChangeStatus: %v", err)
|
||||
} else {
|
||||
log.Trace("Issue [%d] status changed to closed: %v", issue.ID, issue.IsClosed)
|
||||
|
||||
notification.Service.NotifyIssue(issue, ctx.User.ID)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue