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