Various improvements

This commit is contained in:
Ilya Laktyushin
2023-10-23 16:43:49 +04:00
parent 3d4ccb4eb0
commit 2246a9f1c2
24 changed files with 637 additions and 135 deletions

View File

@@ -948,7 +948,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
let controller = PremiumIntroScreen(context: strongSelf.context, source: .gift(from: fromPeerId, to: toPeerId, duration: duration))
strongSelf.push(controller)
return true
case let .giftCode(slug, _, _, _):
case let .giftCode(slug, _, _, _, _):
strongSelf.openResolved(result: .premiumGiftCode(slug: slug), sourceMessageId: message.id)
return true
case let .suggestedProfilePhoto(image):