summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-03-26 00:38:00 +0000
committerGitHub <noreply@github.com>2021-03-26 00:38:00 +0000
commit1bd59a3939566c74aee93482dd4a466c9b7d6fc2 (patch)
tree5c145a3e8249bca5e7be1ea9835a304f28207743 /src
parentDisable horizontal scrollbar in timeline (diff)
parentUse correct Qt version (diff)
downloadnheko-1bd59a3939566c74aee93482dd4a466c9b7d6fc2.tar.xz
Merge pull request #536 from LorenDB/master
Add a part command
Diffstat (limited to 'src')
-rw-r--r--src/timeline/InputBar.cpp2
1 files changed, 2 insertions, 0 deletions
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") {