Revert: Prevent an edge case where a download is not marked as complete

pull/3703/head
Mark McDowall 5 years ago
parent 05dd17aacb
commit 1498f4e361

@ -21,7 +21,7 @@ namespace NzbDrone.Core.Download.TrackedDownloads
var allEpisodesImportedInHistory = trackedDownload.RemoteEpisode.Episodes.All(e =>
{
var lastHistoryItem = historyItems.FirstOrDefault(h => h.DownloadId == trackedDownload.DownloadItem.DownloadId && h.EpisodeId == e.Id);
var lastHistoryItem = historyItems.FirstOrDefault(h => h.EpisodeId == e.Id);
if (lastHistoryItem == null)
{

Loading…
Cancel
Save