From b3221b09d6e12cda47a4ebc8443cac43bb71d29c Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 5 Feb 2022 08:40:56 +0100 Subject: Add /reset-state 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 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")) { -- cgit 1.5.1