From ea2fb7f8df098e99e3a1e2898dda55abc34ea72a Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Thu, 25 Mar 2021 20:19:48 -0400 Subject: [PATCH 1/2] Add part/leave command --- src/timeline/InputBar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index 8a5e4346..b45827f6 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -482,6 +482,8 @@ InputBar::command(QString command, QString args) eventId, args.trimmed()); } else if (command == "join") { ChatPage::instance()->joinRoom(args); + } else if (command == "part" || command == "leave") { + MainWindow::instance()->openLeaveRoomDialog(room->roomId()); } else if (command == "invite") { ChatPage::instance()->inviteUser(args.section(' ', 0, 0), args.section(' ', 1, -1)); } else if (command == "kick") { From 32f5e3503763a9c0193a7cf003fe06cc63a55f32 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Thu, 25 Mar 2021 20:20:13 -0400 Subject: [PATCH 2/2] Use correct Qt version --- resources/qml/MatrixTextField.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/qml/MatrixTextField.qml b/resources/qml/MatrixTextField.qml index db2c907b..3bcc9675 100644 --- a/resources/qml/MatrixTextField.qml +++ b/resources/qml/MatrixTextField.qml @@ -2,9 +2,9 @@ // // SPDX-License-Identifier: GPL-3.0-or-later -import QtQuick 2.13 -import QtQuick.Controls 2.13 -import QtQuick.Layouts 1.13 +import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Layouts 1.12 TextField { id: input