From 1c57a105544a543d4a118639f0f64df66e3b4de9 Mon Sep 17 00:00:00 2001 From: overtake Date: Mon, 7 Dec 2020 14:46:51 +0400 Subject: [PATCH] [skip ci] --- submodules/TelegramCore/Sources/CachedStickerPack.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCore/Sources/CachedStickerPack.swift b/submodules/TelegramCore/Sources/CachedStickerPack.swift index b0d7bf64c8..3362bb657f 100644 --- a/submodules/TelegramCore/Sources/CachedStickerPack.swift +++ b/submodules/TelegramCore/Sources/CachedStickerPack.swift @@ -39,7 +39,7 @@ func cacheStickerPack(transaction: Transaction, info: StickerPackCollectionInfo, public func cachedStickerPack(postbox: Postbox, network: Network, reference: StickerPackReference, forceRemote: Bool) -> Signal { return postbox.transaction { transaction -> CachedStickerPackResult? in if let (info, items, local) = cachedStickerPack(transaction: transaction, reference: reference) { - if local && !forceRemote { + if local { return .result(info, items, true) } }