Commit e5496e1e authored by http://jneen.net/'s avatar http://jneen.net/

use the accessor for `type`

parent 4af2c647
......@@ -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?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment