diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index 3df67fcc..4e472a3a 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -1314,8 +1314,10 @@ ChatPage::startChat(QString userid) mtx::requests::CreateRoom req; req.preset = mtx::requests::Preset::PrivateChat; req.visibility = mtx::common::RoomVisibility::Private; - if (utils::localUser() != userid) - req.invite = {userid.toStdString()}; + if (utils::localUser() != userid) { + req.invite = {userid.toStdString()}; + req.is_direct = true; + } emit ChatPage::instance()->createRoom(req); }