mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-22 22:16:13 -04:00
New: Optionally disable notifications for upgraded episode files
This commit is contained in:
@@ -80,6 +80,11 @@ namespace NzbDrone.Core.Notifications
|
||||
{
|
||||
try
|
||||
{
|
||||
if (downloadMessage.OldFiles.Any() && !((NotificationDefinition) notification.Definition).OnUpgrade)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
notification.OnDownload(downloadMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user