Merge pull request #313 from MayeulC/shrug-text

Allow sending text after `shrug`
This commit is contained in:
DeepBlueV7.X 2020-10-31 23:16:52 +01:00 committed by GitHub
commit c3524ba89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@ TextInputWidget::command(QString command, QString args)
} else if (command == "roomnick") {
emit changeRoomNick(args);
} else if (command == "shrug") {
emit sendTextMessage("¯\\_(ツ)_/¯");
emit sendTextMessage("¯\\_(ツ)_/¯" + (args.isEmpty() ? "" : " " + args));
} else if (command == "fliptable") {
emit sendTextMessage("(╯°□°) ");
} else if (command == "unfliptable") {