Animated stickers are stickers too

This commit is contained in:
Peter 2019-07-26 15:06:29 +01:00
parent f186dbc3d5
commit 3999c124b8

View File

@ -330,7 +330,7 @@ public final class TelegramMediaFile: Media, Equatable {
public var isSticker: Bool {
for attribute in self.attributes {
if case .Sticker = attribute {
return !self.isAnimatedSticker
return true
}
}
return false