From 86050690bf39bc528b869fd81a2d47fc0ab4ad2a Mon Sep 17 00:00:00 2001 From: Peter <> Date: Fri, 30 Aug 2019 12:39:14 +0400 Subject: [PATCH] Remove testing code --- submodules/TelegramUI/TelegramUI/ChatControllerNode.swift | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/submodules/TelegramUI/TelegramUI/ChatControllerNode.swift b/submodules/TelegramUI/TelegramUI/ChatControllerNode.swift index 1e74472792..5495db5a4a 100644 --- a/submodules/TelegramUI/TelegramUI/ChatControllerNode.swift +++ b/submodules/TelegramUI/TelegramUI/ChatControllerNode.swift @@ -2086,13 +2086,7 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate { var messages: [EnqueueMessage] = [] - var inputText = convertMarkdownToAttributes(effectivePresentationInterfaceState.interfaceState.composeInputState.inputText) - - let tempString = NSMutableAttributedString() - let s = "\u{202e}" - tempString.append(NSAttributedString(string: s)) - tempString.append(inputText) - inputText = tempString + let inputText = convertMarkdownToAttributes(effectivePresentationInterfaceState.interfaceState.composeInputState.inputText) for text in breakChatInputText(trimChatInputText(inputText)) { if text.length != 0 {