Fix PLs for DMs

This commit is contained in:
Nicolas Werner 2022-04-20 16:50:27 +02:00
parent 3b2f47c56f
commit f7ffaac63d
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -1272,7 +1272,7 @@ ChatPage::startChat(QString userid, std::optional<bool> encryptionEnabled)
return; return;
mtx::requests::CreateRoom req; mtx::requests::CreateRoom req;
req.preset = mtx::requests::Preset::PrivateChat; req.preset = mtx::requests::Preset::TrustedPrivateChat;
req.visibility = mtx::common::RoomVisibility::Private; req.visibility = mtx::common::RoomVisibility::Private;
if (encryptionEnabled.value_or(false)) { if (encryptionEnabled.value_or(false)) {