Fix entry fetching identifiers

This commit is contained in:
Maurice Parker 2020-10-25 19:36:47 -05:00
parent 63326e1f92
commit d0a9d64062
1 changed files with 2 additions and 2 deletions

View File

@ -730,11 +730,11 @@ final class ReaderAPICaller: NSObject {
// Get ids from above into hex representation of value // Get ids from above into hex representation of value
let idsToFetch = entries.itemRefs.map({ (reference) -> String in let idsToFetch = entries.itemRefs.map({ (reference) -> String in
if self.variant == .theOldReader { if self.variant == .theOldReader {
return "i=\(reference.itemId)" return "i=tag:google.com,2005:reader/item/\(reference.itemId)"
} else { } else {
let idValue = Int(reference.itemId)! let idValue = Int(reference.itemId)!
let idHexString = String(idValue, radix: 16, uppercase: false) let idHexString = String(idValue, radix: 16, uppercase: false)
return "i=\(idHexString)" return "i=tag:google.com,2005:reader/item/\(idHexString)"
} }
}).joined(separator:"&") }).joined(separator:"&")