summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-03-30 21:15:22 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-03-30 21:15:22 +0200
commitc91f91d5d39fe9ca04d45410f6926bec1df68f83 (patch)
tree752fb5b807d6328f0f7a5582ae44319c776fa4d3 /src/timeline/InputBar.cpp
parentAdd delay to showing scroll down button (diff)
downloadnheko-c91f91d5d39fe9ca04d45410f6926bec1df68f83.tar.xz
Add /knock command
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp

index f7c4fc1e..4116729d 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp
@@ -670,6 +670,8 @@ InputBar::command(const QString &command, QString args) reaction(eventId, args.trimmed()); } else if (command == QLatin1String("join")) { ChatPage::instance()->joinRoom(args); + } else if (command == QLatin1String("knock")) { + ChatPage::instance()->knockRoom(args); } else if (command == QLatin1String("part") || command == QLatin1String("leave")) { ChatPage::instance()->timelineManager()->openLeaveRoomDialog(room->roomId()); } else if (command == QLatin1String("invite")) {