mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix usernames drop on min
user being received.
This commit is contained in:
@@ -690,7 +690,7 @@ not_null<UserData*> Session::processUser(const MTPUser &data) {
|
|||||||
result->setAccessHash(accessHash->v);
|
result->setAccessHash(accessHash->v);
|
||||||
}
|
}
|
||||||
status = data.vstatus();
|
status = data.vstatus();
|
||||||
{
|
if (!minimal) {
|
||||||
const auto newUsername = uname;
|
const auto newUsername = uname;
|
||||||
const auto newUsernames = data.vusernames()
|
const auto newUsernames = data.vusernames()
|
||||||
? Api::Usernames::FromTL(*data.vusernames())
|
? Api::Usernames::FromTL(*data.vusernames())
|
||||||
|
Reference in New Issue
Block a user