From fc1d1fdb45e4d3e0f75e52b88a4561762aa0e368 Mon Sep 17 00:00:00 2001 From: overtake <> Date: Mon, 8 Jun 2020 16:06:28 +0300 Subject: [PATCH] increased size for static stickers [skip ci] --- submodules/SyncCore/Sources/TelegramMediaFile.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/SyncCore/Sources/TelegramMediaFile.swift b/submodules/SyncCore/Sources/TelegramMediaFile.swift index 1948aa9477..017d1eac1c 100644 --- a/submodules/SyncCore/Sources/TelegramMediaFile.swift +++ b/submodules/SyncCore/Sources/TelegramMediaFile.swift @@ -404,7 +404,7 @@ public final class TelegramMediaFile: Media, Equatable, Codable { public var isStaticSticker: Bool { for attribute in self.attributes { if case .Sticker = attribute { - if let s = self.size, s < 200 * 1024 { + if let s = self.size, s < 300 * 1024 { return !isAnimatedSticker } }