mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +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 case .Sticker = attribute {
|
||||||
if let s = self.size, s < 300 * 1024 {
|
if let s = self.size, s < 300 * 1024 {
|
||||||
return !isAnimatedSticker
|
return !isAnimatedSticker
|
||||||
|
} else if self.size == nil {
|
||||||
|
return !isAnimatedSticker
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user