Fixed: OnImportFailure using OnDownloadFailure enabled notifications

pull/700/head
Qstick 6 years ago
parent c229d73ddc
commit 772bd88efa

@ -227,7 +227,6 @@ namespace NzbDrone.Core.Notifications
Language = message.Language, Language = message.Language,
SourceTitle = message.SourceTitle, SourceTitle = message.SourceTitle,
Message = message.Message Message = message.Message
}; };
foreach (var notification in _notificationFactory.OnDownloadFailureEnabled()) foreach (var notification in _notificationFactory.OnDownloadFailureEnabled())
@ -247,7 +246,7 @@ namespace NzbDrone.Core.Notifications
Message = GetAlbumIncompleteImportMessage(message.TrackedDownload.DownloadItem.Title), Message = GetAlbumIncompleteImportMessage(message.TrackedDownload.DownloadItem.Title),
}; };
foreach (var notification in _notificationFactory.OnDownloadFailureEnabled()) foreach (var notification in _notificationFactory.OnImportFailureEnabled())
{ {
if (ShouldHandleArtist(notification.Definition, message.TrackedDownload.RemoteAlbum.Artist)) if (ShouldHandleArtist(notification.Definition, message.TrackedDownload.RemoteAlbum.Artist))
{ {

Loading…
Cancel
Save