aboutsummaryrefslogtreecommitdiffstats
path: root/models/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/notification.go')
-rw-r--r--models/notification.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/models/notification.go b/models/notification.go
index a7a65c38a4..05b0e92c9b 100644
--- a/models/notification.go
+++ b/models/notification.go
@@ -159,6 +159,13 @@ func createOrUpdateIssueNotifications(e Engine, issueID, commentID int64, notifi
for _, id := range repoWatches {
toNotify[id] = struct{}{}
}
+ issueParticipants, err := issue.getParticipantIDsByIssue(e)
+ if err != nil {
+ return err
+ }
+ for _, id := range issueParticipants {
+ toNotify[id] = struct{}{}
+ }
// dont notify user who cause notification
delete(toNotify, notificationAuthorID)