Add /knock command
This commit is contained in:
parent
cb76777fce
commit
c91f91d5d3
4 changed files with 25 additions and 2 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue