mirror of
https://github.com/Readarr/Readarr
synced 2025-12-20 23:35:13 +01:00
Prevent health checks warnings for disabled notifications
(cherry picked from commit 5a7f42a63e25d6abdb187c37e92a908a6b85fb4d)
This commit is contained in:
parent
c1c2076e5c
commit
2107624f1c
1 changed files with 5 additions and 0 deletions
|
|
@ -36,6 +36,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