Prevent health checks warnings for disabled notifications

This commit is contained in:
Bogdan 2023-08-21 21:04:30 +03:00
parent 5ad6237785
commit 39a54eb8f6

View file

@ -27,6 +27,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)