summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3734e3c4253..97db117aa99 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -466,6 +466,7 @@ class NotificationService
users = users.to_a.compact.uniq
users = users.reject(&:blocked?)
+ users = users.reject(&:ghost?)
users.reject do |user|
global_notification_setting = user.global_notification_setting