diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml index 8b6af57a..58ae90bb 100644 --- a/resources/qml/MessageInput.qml +++ b/resources/qml/MessageInput.qml @@ -173,7 +173,7 @@ Rectangle { } else if (event.matches(StandardKey.InsertLineSeparator)) { if (popup.opened) popup.close(); - if (Settings.invertEnterKey && (!Qt.inputMethod.visible || Qt.platform.os === "windows")) { + if (Settings.invertEnterKey) { room.input.send(); event.accepted = true; } @@ -195,7 +195,7 @@ Rectangle { return; } } - if (!Settings.invertEnterKey && (!Qt.inputMethod.visible || Qt.platform.os === "windows")) { + if (!Settings.invertEnterKey) { room.input.send(); event.accepted = true; }