diff --git a/app/models/notification_recipient.rb b/app/models/notification_recipient.rb
index 6a8287c88b84c4b55fee17393fb75f6f75b54df9..c307f0ad5b6537cfd66b7537c1322f0ced3c954f 100644
--- a/app/models/notification_recipient.rb
+++ b/app/models/notification_recipient.rb
@@ -54,7 +54,7 @@ class NotificationRecipient
 
     return false if %i[watch participating].include?(notification_level) && excluded_watcher_action?
 
-    return false unless NotificationSetting.levels[notification_level] <= NotificationSetting.levels[type]
+    return false unless NotificationSetting.levels[notification_level] <= NotificationSetting.levels[@type]
 
     return false if unsubscribed?