From 4c5c53ec0b2277045eea55bf69f04602add5ab08 Mon Sep 17 00:00:00 2001 From: isaac <> Date: Tue, 2 Jun 2026 21:13:59 +0200 Subject: [PATCH] Disable auto parsing rich messages --- submodules/TelegramUI/Sources/ChatControllerNode.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI/Sources/ChatControllerNode.swift b/submodules/TelegramUI/Sources/ChatControllerNode.swift index 06570b8ed4..98a4403632 100644 --- a/submodules/TelegramUI/Sources/ChatControllerNode.swift +++ b/submodules/TelegramUI/Sources/ChatControllerNode.swift @@ -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 {