1 files changed, 5 insertions, 0 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 44df3411..bd4f59d8 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -645,6 +645,11 @@ InputBar::command(QString command, QString args)
return;
}
nhlog::net()->error("Could not resolve goto: {}", args.toStdString());
+ } else if (command == "converttodm") {
+ utils::markRoomAsDirect(this->room->roomId(),
+ cache::getMembers(this->room->roomId().toStdString(), 0, -1));
+ } else if (command == "converttoroom") {
+ utils::removeDirectFromRoom(this->room->roomId());
}
}
|