Always encrypt DMs when creating them

This commit is contained in:
Tobias Fella
2024-03-23 20:39:45 +01:00
parent ceef2167fd
commit f7081f8829

View File

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