mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix PLs for DMs
This commit is contained in:
parent
3b2f47c56f
commit
f7ffaac63d
1 changed files with 1 additions and 1 deletions
|
@ -1272,7 +1272,7 @@ ChatPage::startChat(QString userid, std::optional<bool> encryptionEnabled)
|
|||
return;
|
||||
|
||||
mtx::requests::CreateRoom req;
|
||||
req.preset = mtx::requests::Preset::PrivateChat;
|
||||
req.preset = mtx::requests::Preset::TrustedPrivateChat;
|
||||
req.visibility = mtx::common::RoomVisibility::Private;
|
||||
|
||||
if (encryptionEnabled.value_or(false)) {
|
||||
|
|
Loading…
Reference in a new issue