Skip to content

Commit

Permalink
Fixed: Albums removed from queue re-appearing on refresh
Browse files Browse the repository at this point in the history
Fixes #1392
  • Loading branch information
Qstick committed Jun 5, 2022
1 parent 44b76ff commit 39bbb67
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/NzbDrone.Core/Download/History/DownloadHistoryService.cs
Expand Up @@ -64,6 +64,11 @@ public DownloadHistory GetLatestDownloadHistoryItem(string downloadId)
// Events are ordered by date descending. We'll return the most recent expected event.
foreach (var e in events)
{
if (e.EventType == DownloadHistoryEventType.DownloadIgnored)
{
return e;
}

if (e.EventType == DownloadHistoryEventType.DownloadGrabbed)
{
return e;
Expand Down

0 comments on commit 39bbb67

Please sign in to comment.