1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-26 15:52:42 +00:00

Fixed: OnImportFailure using OnDownloadFailure enabled notifications

This commit is contained in:
Qstick 2019-03-22 20:46:09 -04:00
parent c229d73ddc
commit 772bd88efa

View file

@ -227,7 +227,6 @@ public void Handle(DownloadFailedEvent message)
Language = message.Language,
SourceTitle = message.SourceTitle,
Message = message.Message
};
foreach (var notification in _notificationFactory.OnDownloadFailureEnabled())
@ -247,7 +246,7 @@ public void Handle(AlbumImportIncompleteEvent message)
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))
{