Various fixes

This commit is contained in:
Ilya Laktyushin
2022-09-23 18:55:00 +04:00
parent 6a07227d8d
commit 5fe2dcdc1c
9 changed files with 162 additions and 100 deletions

View File

@@ -1088,6 +1088,11 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
allReactionsAreAvailable = false
}
let premiumConfiguration = PremiumConfiguration.with(appConfiguration: context.currentAppConfiguration.with { $0 })
if premiumConfiguration.isPremiumDisabled {
allReactionsAreAvailable = false
}
if allReactionsAreAvailable {
actions.getEmojiContent = { animationCache, animationRenderer in
guard let strongSelf = self else {