mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Moved usernames data management to separated class.
This commit is contained in:
@@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "api/api_updates.h"
|
||||
|
||||
#include "api/api_authorizations.h"
|
||||
#include "api/api_user_names.h"
|
||||
#include "api/api_chat_participants.h"
|
||||
#include "api/api_ringtones.h"
|
||||
#include "api/api_text_entities.h"
|
||||
@@ -1888,6 +1889,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
TextUtilities::SingleLine(last),
|
||||
user->nameOrPhone,
|
||||
TextUtilities::SingleLine(username));
|
||||
user->setUsernames(Api::Usernames::FromTL(d.vusernames()));
|
||||
}
|
||||
} break;
|
||||
|
||||
|
Reference in New Issue
Block a user