Fix formatting

This commit is contained in:
Carl Schwan
2020-12-03 22:36:41 +01:00
parent e3e2e4f66e
commit 09804511d0

View File

@@ -305,7 +305,7 @@ ToolBar {
if (event.modifiers & Qt.ShiftModifier) {
insert(cursorPosition, "<br />")
} 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()