fixup! Fixed: Marking queued item as failed not blocking the correct Torrent Info Hash
This commit is contained in:
parent
8770f30b84
commit
6079ac8d49
|
@ -188,8 +188,8 @@ namespace NzbDrone.Core.Blocklisting
|
||||||
Message = message.Message,
|
Message = message.Message,
|
||||||
Languages = message.Languages,
|
Languages = message.Languages,
|
||||||
TorrentInfoHash = message.TrackedDownload?.Protocol == DownloadProtocol.Torrent
|
TorrentInfoHash = message.TrackedDownload?.Protocol == DownloadProtocol.Torrent
|
||||||
? message.TrackedDownload.DownloadItem.DownloadId
|
? message.TrackedDownload.DownloadItem.DownloadId
|
||||||
: message.Data.GetValueOrDefault("torrentInfoHash", null)
|
: message.Data.GetValueOrDefault("torrentInfoHash", null)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (Enum.TryParse(message.Data.GetValueOrDefault("indexerFlags"), true, out IndexerFlags flags))
|
if (Enum.TryParse(message.Data.GetValueOrDefault("indexerFlags"), true, out IndexerFlags flags))
|
||||||
|
|
Loading…
Reference in New Issue