diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-02-05 08:40:56 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-02-05 08:40:56 +0100 |
commit | b3221b09d6e12cda47a4ebc8443cac43bb71d29c (patch) | |
tree | 39b14ca0d156bbef30beda6295f7c63374e1e74c /src/timeline/InputBar.cpp | |
parent | Fix avatar url conversion for widgets (diff) | |
download | nheko-b3221b09d6e12cda47a4ebc8443cac43bb71d29c.tar.xz |
Add /reset-state command
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r-- | src/timeline/InputBar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index 18e224b2..cd7c4e0c 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -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")) { |