mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Don't play forwarded sticker effects
This commit is contained in:
@@ -1614,6 +1614,15 @@ class ChatMessageAnimatedStickerItemNode: ChatMessageItemView {
|
||||
return
|
||||
}
|
||||
self.playedPremiumStickerAnimation = true
|
||||
if file.attributes.contains(where: { attribute in
|
||||
if case .NoPremium = attribute {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}) {
|
||||
return
|
||||
}
|
||||
self.playEffectAnimation(resource: effect.resource, isStickerEffect: true)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user