Add /reset-state command

This commit is contained in:
Nicolas Werner 2022-02-05 08:40:56 +01:00
parent 1dacf327e1
commit b3221b09d6
7 changed files with 73 additions and 2 deletions

View file

@ -617,6 +617,8 @@ InputBar::command(const QString &command, QString args)
message(QStringLiteral("ノ┬─┬ノ ︵ ( \\o°o)\\"));
} else if (command == QLatin1String("clear-timeline")) {
room->clearTimeline();
} else if (command == QLatin1String("reset-state")) {
room->resetState();
} else if (command == QLatin1String("rotate-megolm-session")) {
cache::dropOutboundMegolmSession(room->roomId().toStdString());
} else if (command == QLatin1String("md")) {