diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 1337dca83547b8474f2f1b661742d50486d9cbf7..c7e45a2c2c705ab1addf21ef552c16f4d3f9405f 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -130,9 +130,9 @@ class NotificationService # Add all users participating in the thread (author, assignee, comment authors) participants = if target.is_a?(Commit) - target.participants(note.project) + target.participants(note.project, note.author) elsif target.respond_to?(:participants) - target.participants + target.participants(note.author) else note.mentioned_users end