mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Always request cached sticker pack from the server
This commit is contained in:
parent
6d0cb728ab
commit
da2e66a345
@ -83,7 +83,7 @@ public func cachedStickerPack(postbox: Postbox, network: Network, reference: Sti
|
|||||||
if cached.hash != info.hash {
|
if cached.hash != info.hash {
|
||||||
return (current, true, previousHash)
|
return (current, true, previousHash)
|
||||||
} else {
|
} else {
|
||||||
return (current, false, previousHash)
|
return (current, true, previousHash)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return (.fetching, true, nil)
|
return (.fetching, true, nil)
|
||||||
@ -95,7 +95,7 @@ public func cachedStickerPack(postbox: Postbox, network: Network, reference: Sti
|
|||||||
if cached.hash != info.hash {
|
if cached.hash != info.hash {
|
||||||
return (current, true, previousHash)
|
return (current, true, previousHash)
|
||||||
} else {
|
} else {
|
||||||
return (current, false, previousHash)
|
return (current, true, previousHash)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return (.fetching, true, nil)
|
return (.fetching, true, nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user