fixup! Fixed: Marking queued item as failed not blocking the correct Torrent Info Hash

This commit is contained in:
Mark McDowall 2024-08-07 17:15:40 -07:00
parent 8770f30b84
commit 6079ac8d49
1 changed files with 2 additions and 2 deletions

View File

@ -188,8 +188,8 @@ namespace NzbDrone.Core.Blocklisting
Message = message.Message,
Languages = message.Languages,
TorrentInfoHash = message.TrackedDownload?.Protocol == DownloadProtocol.Torrent
? message.TrackedDownload.DownloadItem.DownloadId
: message.Data.GetValueOrDefault("torrentInfoHash", null)
? message.TrackedDownload.DownloadItem.DownloadId
: message.Data.GetValueOrDefault("torrentInfoHash", null)
};
if (Enum.TryParse(message.Data.GetValueOrDefault("indexerFlags"), true, out IndexerFlags flags))