summary refs log tree commit diff
path: root/src/TextInputWidget.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-10-31 23:16:52 +0100
committerGitHub <noreply@github.com>2020-10-31 23:16:52 +0100
commitc3524ba89b5b8c158a72e9deac79457dadf9c09b (patch)
treeef1c88443dc9f723eff8d0c7b6e8b2f5ab58d450 /src/TextInputWidget.cpp
parentMerge pull request #310 from MayeulC/fix-typo (diff)
parentAllow sending text after `shrug` (diff)
downloadnheko-c3524ba89b5b8c158a72e9deac79457dadf9c09b.tar.xz
Merge pull request #313 from MayeulC/shrug-text
Allow sending text after `shrug`
Diffstat (limited to 'src/TextInputWidget.cpp')
-rw-r--r--src/TextInputWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp

index 81c1bce9..f75358c8 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp
@@ -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") {