mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-21 11:39:43 +00:00
Always request cached sticker pack from the server
This commit is contained in:
@@ -83,7 +83,7 @@ public func cachedStickerPack(postbox: Postbox, network: Network, reference: Sti
|
||||
if cached.hash != info.hash {
|
||||
return (current, true, previousHash)
|
||||
} else {
|
||||
return (current, false, previousHash)
|
||||
return (current, true, previousHash)
|
||||
}
|
||||
} else {
|
||||
return (.fetching, true, nil)
|
||||
@@ -95,7 +95,7 @@ public func cachedStickerPack(postbox: Postbox, network: Network, reference: Sti
|
||||
if cached.hash != info.hash {
|
||||
return (current, true, previousHash)
|
||||
} else {
|
||||
return (current, false, previousHash)
|
||||
return (current, true, previousHash)
|
||||
}
|
||||
} else {
|
||||
return (.fetching, true, nil)
|
||||
|
||||
Reference in New Issue
Block a user