Add /roomnick command

This commit is contained in:
Nicolas Werner 2020-05-18 14:02:14 +02:00
parent 7de1fc62e8
commit 23e4408fa8
3 changed files with 26 additions and 0 deletions

View file

@ -576,6 +576,8 @@ TextInputWidget::command(QString command, QString args)
sendBanRoomRequest(args.section(' ', 0, 0), args.section(' ', 1, -1));
} else if (command == "unban") {
sendUnbanRoomRequest(args.section(' ', 0, 0), args.section(' ', 1, -1));
} else if (command == "roomnick") {
changeRoomNick(args);
} else if (command == "shrug") {
sendTextMessage("¯\\_(ツ)_/¯");
} else if (command == "fliptable") {