Request direct chat by userId to avoid breakage with upcoming libquotient changes
This commit is contained in:
committed by
Tobias Fella
parent
83d21634c3
commit
6f4a52024b
@@ -345,7 +345,7 @@ void NeoChatConnection::openOrCreateDirectChat(User *user)
|
||||
return;
|
||||
}
|
||||
}
|
||||
requestDirectChat(user);
|
||||
requestDirectChat(user->id());
|
||||
connectSingleShot(this, &Connection::directChatAvailable, this, [=](auto room) {
|
||||
room->activateEncryption();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user