From 08c68e26c15b65ba834583893da474cabc58ed1d Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 4 Dec 2021 12:10:19 -0600 Subject: [PATCH] Fixed: Correctly return infohash in torznab response when available --- src/NzbDrone.Core/IndexerSearch/NewznabResults.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/IndexerSearch/NewznabResults.cs b/src/NzbDrone.Core/IndexerSearch/NewznabResults.cs index 568183fb5..8e97c2806 100644 --- a/src/NzbDrone.Core/IndexerSearch/NewznabResults.cs +++ b/src/NzbDrone.Core/IndexerSearch/NewznabResults.cs @@ -97,7 +97,7 @@ namespace NzbDrone.Core.IndexerSearch GetNabElement("files", r.Files, protocol), GetNabElement("grabs", r.Grabs, protocol), GetNabElement("peers", t.Peers, protocol), - GetNabElement("infohash", RemoveInvalidXMLChars(r.Guid), protocol), + GetNabElement("infohash", RemoveInvalidXMLChars(t.InfoHash), protocol), GetNabElement("minimumratio", t.MinimumRatio, protocol), GetNabElement("minimumseedtime", t.MinimumSeedTime, protocol), GetNabElement("downloadvolumefactor", t.DownloadVolumeFactor, protocol),