Request direct chat by userId to avoid breakage with upcoming libquotient changes

This commit is contained in:
James Graham
2024-05-06 10:59:01 +01:00
committed by Tobias Fella
parent 83d21634c3
commit 6f4a52024b

View File

@@ -345,7 +345,7 @@ void NeoChatConnection::openOrCreateDirectChat(User *user)
return;
}
}
requestDirectChat(user);
requestDirectChat(user->id());
connectSingleShot(this, &Connection::directChatAvailable, this, [=](auto room) {
room->activateEncryption();
});