Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-30 15:12:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-30 15:12:30 +0300
commit6d19e491d1257b6fbc74f4cf3a30ddb28deaeaf4 (patch)
treee14c505a5e880c85161d8c5b17b23341b6c37a21 /app/services/notification_service.rb
parentea0085de54590ffde24fee2ced286961a419410d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index 6f1f3309ad9..8662012afdf 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -384,6 +384,7 @@ class NotificationService
def send_service_desk_notification(note)
return unless note.noteable_type == 'Issue'
+ return if note.confidential
issue = note.noteable
recipients = issue.email_participants_emails