Use new libquotient functionality to encrypt direct chats by default

Needs https://github.com/quotient-im/libQuotient/pull/730
This commit is contained in:
James Graham
2024-05-11 10:49:22 +00:00
committed by Tobias Fella
parent a29d3790c8
commit 645438525f
2 changed files with 2 additions and 3 deletions

View File

@@ -346,9 +346,6 @@ void NeoChatConnection::openOrCreateDirectChat(User *user)
}
}
requestDirectChat(user->id());
connectSingleShot(this, &Connection::directChatAvailable, this, [=](auto room) {
room->activateEncryption();
});
}
qsizetype NeoChatConnection::directChatNotifications() const