mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-28 01:39:47 +01:00
Fix entry fetching identifiers
This commit is contained in:
parent
63326e1f92
commit
d0a9d64062
@ -730,11 +730,11 @@ final class ReaderAPICaller: NSObject {
|
||||
// Get ids from above into hex representation of value
|
||||
let idsToFetch = entries.itemRefs.map({ (reference) -> String in
|
||||
if self.variant == .theOldReader {
|
||||
return "i=\(reference.itemId)"
|
||||
return "i=tag:google.com,2005:reader/item/\(reference.itemId)"
|
||||
} else {
|
||||
let idValue = Int(reference.itemId)!
|
||||
let idHexString = String(idValue, radix: 16, uppercase: false)
|
||||
return "i=\(idHexString)"
|
||||
return "i=tag:google.com,2005:reader/item/\(idHexString)"
|
||||
}
|
||||
}).joined(separator:"&")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user