Prevent health checks warnings for disabled notifications

pull/5961/head
Bogdan 2 years ago committed by Mark McDowall
parent 2a9883ade0
commit 5a7f42a63e

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

Loading…
Cancel
Save