summary refs log tree commit diff
path: root/src/TextInputWidget.cpp
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2020-01-28 19:20:51 -0500
committerJoseph Donofry <joedonofry@gmail.com>2020-01-28 19:20:51 -0500
commitd6d4076d36bdc7171c7d422fb24f64f273ee5f83 (patch)
tree9ce36ae841adb047f736119badc08bf45b574b7e /src/TextInputWidget.cpp
parentChange tooltip palette settings for QML (diff)
parentRemove stale deps folder (diff)
downloadnheko-d6d4076d36bdc7171c7d422fb24f64f273ee5f83.tar.xz
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev
Diffstat (limited to 'src/TextInputWidget.cpp')
-rw-r--r--src/TextInputWidget.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp

index 7f5da009..502456bf 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp
@@ -605,6 +605,14 @@ TextInputWidget::command(QString command, QString args) sendEmoteMessage(args, input_->related); } else if (command == "join") { sendJoinRoomRequest(args); + } else if (command == "invite") { + sendInviteRoomRequest(args.section(' ', 0, 0), args.section(' ', 1, -1)); + } else if (command == "kick") { + sendKickRoomRequest(args.section(' ', 0, 0), args.section(' ', 1, -1)); + } else if (command == "ban") { + 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 == "shrug") { sendTextMessage("¯\\_(ツ)_/¯", input_->related); } else if (command == "fliptable") {