mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 15:37:01 +00:00
static sticker
This commit is contained in:
parent
1bcce98c49
commit
6427b61a98
@ -425,6 +425,8 @@ public final class TelegramMediaFile: Media, Equatable, Codable {
|
||||
if case .Sticker = attribute {
|
||||
if let s = self.size, s < 300 * 1024 {
|
||||
return !isAnimatedSticker
|
||||
} else if self.size == nil {
|
||||
return !isAnimatedSticker
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user