From 39bbb67f0a0ee530330f5345c56370fe6a04b6a9 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 4 Jun 2022 14:55:00 -0500 Subject: [PATCH] Fixed: Albums removed from queue re-appearing on refresh Fixes #1392 --- src/NzbDrone.Core/Download/History/DownloadHistoryService.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Core/Download/History/DownloadHistoryService.cs b/src/NzbDrone.Core/Download/History/DownloadHistoryService.cs index ce07124de..51d1a70cf 100644 --- a/src/NzbDrone.Core/Download/History/DownloadHistoryService.cs +++ b/src/NzbDrone.Core/Download/History/DownloadHistoryService.cs @@ -64,6 +64,11 @@ namespace NzbDrone.Core.Download.History // 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;