Remove testing code

This commit is contained in:
Peter
2019-08-30 12:39:14 +04:00
parent f910aa2569
commit 86050690bf

View File

@@ -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 {