summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-10-11 23:34:26 +0000
committerGitHub <noreply@github.com>2021-10-11 23:34:26 +0000
commit37f661caed46d79cae657e0604f872823a0d6689 (patch)
treec18e36ccbd831a51fd85288d6a92a15ea494f130 /src/timeline/InputBar.cpp
parentMerge pull request #741 from LorenDB/qmlJoinRoomDlg (diff)
parentUse the same leave room dialog everywhere (diff)
downloadnheko-37f661caed46d79cae657e0604f872823a0d6689.tar.xz
Merge pull request #742 from LorenDB/qmlLeaveRoom
QML the leave room dialog
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp

index f518248b..f33d1dfd 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp
@@ -577,7 +577,7 @@ InputBar::command(QString command, QString args) } else if (command == "join") { ChatPage::instance()->joinRoom(args); } else if (command == "part" || command == "leave") { - MainWindow::instance()->openLeaveRoomDialog(room->roomId()); + ChatPage::instance()->timelineManager()->openLeaveRoomDialog(room->roomId()); } else if (command == "invite") { ChatPage::instance()->inviteUser(args.section(' ', 0, 0), args.section(' ', 1, -1)); } else if (command == "kick") {