mirror of
https://github.com/Sonarr/Sonarr
synced 2026-04-25 14:41:43 +02:00
Prevent health checks warnings for disabled notifications
This commit is contained in:
parent
2a9883ade0
commit
5a7f42a63e
1 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,11 @@ public NotificationFactory(INotificationStatusService notificationStatusService,
|
|||
_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…
Reference in a new issue