Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin 2020-06-09 15:13:40 +03:00
commit 5ffff6fc84

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