increased size for static stickers [skip ci]

This commit is contained in:
overtake 2020-06-08 16:06:28 +03:00
parent a5f9d41dbe
commit fc1d1fdb45

View File

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