From b6ef00b5ee14bd0adc85c3a98bb8a127f79932ea Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Thu, 23 Feb 2023 21:57:53 -0500 Subject: Show warning when invalid command is entered Fixes #1363 Please note that this doesn't prompt when you try to send a message with a bad command. --- src/timeline/InputBar.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/timeline/InputBar.cpp') diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index 7d964bb5..5184ba94 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -846,6 +846,8 @@ InputBar::command(const QString &command, QString args) cache::getMembers(this->room->roomId().toStdString(), 0, -1)); } else if (command == QLatin1String("converttoroom")) { utils::removeDirectFromRoom(this->room->roomId()); + } else { + message("/" + command + " " + args); } } -- cgit 1.5.1