diff options
Diffstat (limited to 'services/issue/issue.go')
-rw-r--r-- | services/issue/issue.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/services/issue/issue.go b/services/issue/issue.go index 0f90a2bcd0..14de0290a1 100644 --- a/services/issue/issue.go +++ b/services/issue/issue.go @@ -23,7 +23,12 @@ func NewIssue(repo *models.Repository, issue *models.Issue, labelIDs []int64, uu } } - notification.NotifyNewIssue(issue) + mentions, err := issue.FindAndUpdateIssueMentions(models.DefaultDBContext(), issue.Poster, issue.Content) + if err != nil { + return err + } + + notification.NotifyNewIssue(issue, mentions) return nil } |