Always request cached sticker pack from the server

This commit is contained in:
Peter 2019-07-26 15:04:32 +01:00
parent 6d0cb728ab
commit da2e66a345

View File

@ -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)