mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-06 17:00:13 +00:00
Fix reaction flags
This commit is contained in:
parent
4af2744424
commit
474b918bd2
@ -217,7 +217,7 @@ private extension AvailableReactions.Reaction {
|
||||
let aroundAnimationFile = aroundAnimation.flatMap(telegramMediaFileFromApiDocument)
|
||||
let centerAnimationFile = centerIcon.flatMap(telegramMediaFileFromApiDocument)
|
||||
let isEnabled = (flags & (1 << 0)) == 0
|
||||
let isPremium = (flags & (1 << 2)) == 0
|
||||
let isPremium = (flags & (1 << 2)) != 0
|
||||
self.init(
|
||||
isEnabled: isEnabled,
|
||||
isPremium: isPremium,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user