diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 1337dca8354..c7e45a2c2c7 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