diff --git a/harmonyqml/components/chat/SendBox.qml b/harmonyqml/components/chat/SendBox.qml index 73a85ec5..3919561e 100644 --- a/harmonyqml/components/chat/SendBox.qml +++ b/harmonyqml/components/chat/SendBox.qml @@ -51,6 +51,8 @@ Rectangle { return } + if (textArea.text === "") { return } + Backend.sendMessage(chatPage.user.user_id, chatPage.room.room_id, textArea.text)