Prevent health checks warnings for disabled notifications

(cherry picked from commit 5a7f42a63e25d6abdb187c37e92a908a6b85fb4d)
pull/4064/head
Bogdan 9 months ago
parent bf62d5e0d9
commit ebece0b897

@ -35,6 +35,11 @@ namespace NzbDrone.Core.Notifications
_logger = logger;
}
protected override List<NotificationDefinition> Active()
{
return base.Active().Where(c => c.Enable).ToList();
}
public List<INotification> OnGrabEnabled(bool filterBlockedNotifications = true)
{
if (filterBlockedNotifications)

Loading…
Cancel
Save