mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04: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 @@ 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue