mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-08 21:14:30 +02:00
Prevent health checks warnings for disabled notifications
This commit is contained in:
parent
5ad6237785
commit
39a54eb8f6
1 changed files with 5 additions and 0 deletions
|
|
@ -27,6 +27,11 @@ public NotificationFactory(INotificationStatusService notificationStatusService,
|
||||||
_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…
Reference in a new issue