Prevent health checks warnings for disabled notifications

This commit is contained in:
Bogdan 2023-08-21 21:05:23 +03:00
parent 7986488c6d
commit a523b014b7
1 changed files with 5 additions and 0 deletions

View File

@ -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)