2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix usernames drop on min user being received.

This commit is contained in:
John Preston
2024-05-24 14:44:06 +04:00
parent e26b8e7ebc
commit 000911546b

View File

@@ -690,7 +690,7 @@ not_null<UserData*> Session::processUser(const MTPUser &data) {
result->setAccessHash(accessHash->v);
}
status = data.vstatus();
{
if (!minimal) {
const auto newUsername = uname;
const auto newUsernames = data.vusernames()
? Api::Usernames::FromTL(*data.vusernames())