mirror of
https://github.com/Sonarr/Sonarr
synced 2026-05-09 05:40:53 +02:00
parent
68440bba4d
commit
79d8a9d44b
1 changed files with 5 additions and 0 deletions
|
|
@ -62,6 +62,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue