mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Chat links and other features
This commit is contained in:
@@ -1765,6 +1765,15 @@ public final class ChatEntityKeyboardInputNode: ChatInputNode {
|
||||
if !emojiEnabled && interfaceState.interfaceState.editMessage == nil {
|
||||
emojiContent = nil
|
||||
}
|
||||
if case let .customChatContents(customChatContents) = interfaceState.subject {
|
||||
switch customChatContents.kind {
|
||||
case .quickReplyMessageInput:
|
||||
break
|
||||
case .businessLinkSetup:
|
||||
stickerContent = nil
|
||||
gifContent = nil
|
||||
}
|
||||
}
|
||||
|
||||
stickerContent?.inputInteractionHolder.inputInteraction = self.stickerInputInteraction
|
||||
self.currentInputData.emoji?.inputInteractionHolder.inputInteraction = self.emojiInputInteraction
|
||||
|
||||
Reference in New Issue
Block a user