summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@ymail.com>2022-04-20 16:50:27 +0200
committerNicolas Werner <nicolas.werner@ymail.com>2022-04-20 16:50:27 +0200
commitf7ffaac63d9d50ee49689f80c45d2efd6dc6c474 (patch)
tree159142a3a8fbf5aca8a3dc75e9c59b0af3e33ce3 /src
parentShow changes in image packs in timeline (diff)
downloadnheko-f7ffaac63d9d50ee49689f80c45d2efd6dc6c474.tar.xz
Fix PLs for DMs
Diffstat (limited to 'src')
-rw-r--r--src/ChatPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp

index 5425d527..ccaf2926 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp
@@ -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)) {