mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Don't play forwarded sticker effects
This commit is contained in:
parent
27b412e351
commit
c7e34e3e2d
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user