mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-29 09:01:05 +00:00
Merge commit 'a3ba953b24cc3edafa72a635ff4b9d1913e2470f'
This commit is contained in:
commit
c12e2077f2
@ -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