Commit 837c54e4 authored by Matthieu Tanon's avatar Matthieu Tanon

Fix windows build

parent b9d84b9a
......@@ -485,7 +485,7 @@ void ServerGroupChatRoomPrivate::addCompatibleParticipants (const IdentityAddres
q->addParticipants(compatibleParticipants, nullptr, false);
if ((capabilities & ServerGroupChatRoom::Capabilities::OneToOne) && (q->getParticipantCount() == 2)) {
// Insert the one-to-one chat room in Db if participants count is 2.
bool encrypted = capabilities & ServerGroupChatRoom::Capabilities::Encrypted;
bool encrypted = ((capabilities & ServerGroupChatRoom::Capabilities::Encrypted) != 0);
q->getCore()->getPrivate()->mainDb->insertOneToOneConferenceChatRoom(q->getSharedFromThis(), encrypted);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment