From 09804511d057a43df8ed9709cd6ebc437052a886 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 3 Dec 2020 22:36:41 +0100 Subject: [PATCH] Fix formatting --- imports/NeoChat/Component/ChatTextInput.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imports/NeoChat/Component/ChatTextInput.qml b/imports/NeoChat/Component/ChatTextInput.qml index 8660c76ee..d92488747 100644 --- a/imports/NeoChat/Component/ChatTextInput.qml +++ b/imports/NeoChat/Component/ChatTextInput.qml @@ -305,7 +305,7 @@ ToolBar { if (event.modifiers & Qt.ShiftModifier) { insert(cursorPosition, "
") } else { - postMessage(text) + postMessage() text = "" clearReply() closeAll() @@ -392,7 +392,7 @@ ToolBar { function postMessage() { documentHandler.postMessage(attachmentPath, replyEventID); clearAttachment(); - currentRoom.markAllMessagesAsRead(); + currentRoom.markAllMessagesAsRead(); clear(); } } @@ -451,7 +451,7 @@ ToolBar { icon.color: "transparent" onClicked: { - inputField.postMessage(inputField.text) + inputField.postMessage() inputField.text = "" root.clearReply() root.closeAll()