mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Animated stickers are stickers too
This commit is contained in:
parent
f186dbc3d5
commit
3999c124b8
@ -330,7 +330,7 @@ public final class TelegramMediaFile: Media, Equatable {
|
|||||||
public var isSticker: Bool {
|
public var isSticker: Bool {
|
||||||
for attribute in self.attributes {
|
for attribute in self.attributes {
|
||||||
if case .Sticker = attribute {
|
if case .Sticker = attribute {
|
||||||
return !self.isAnimatedSticker
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user