Skip to content
Snippets Groups Projects
Commit ea2fb7f8 authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Add part/leave command

parent 0d4ddadb
No related branches found
No related tags found
No related merge requests found
......@@ -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") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment