Disable auto parsing rich messages

This commit is contained in:
isaac 2026-06-02 21:13:59 +02:00
parent 689f0408d2
commit 4c5c53ec0b

View file

@ -4861,7 +4861,7 @@ class ChatControllerNode: ASDisplayNode, ASScrollViewDelegate {
if case .customChatContents = self.chatPresentationInterfaceState.subject {
isSpecialChatContents = true
}
if !isSpecialChatContents, let attribute = richMarkdownAttributeIfNeeded(context: self.context, attributedText: effectiveInputText) {
if !"".isEmpty, !isSpecialChatContents, let attribute = richMarkdownAttributeIfNeeded(context: self.context, attributedText: effectiveInputText) {
let attributes: [MessageAttribute] = [attribute]
var richBubbleUpEmojiOrStickersets: [ItemCollectionId] = []
for (_, packId) in bubbleUpEmojiOrStickersetsById {