Fixed: Episodes removed from queue re-appearing on refresh

Fixes #3697
This commit is contained in:
Mark McDowall 2020-04-25 14:12:38 -07:00
parent 68440bba4d
commit 79d8a9d44b
1 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,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;