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

Removed username from public data members of UserData.

This commit is contained in:
23rd
2022-10-05 14:32:16 +03:00
committed by John Preston
parent 9b7329b378
commit 5751d29c47
26 changed files with 112 additions and 61 deletions

View File

@@ -2537,7 +2537,7 @@ void Account::readRecentHashtagsAndBots() {
} else if (peer->isUser()
&& peer->asUser()->isBot()
&& !peer->asUser()->botInfo->inlinePlaceholder.isEmpty()
&& !peer->asUser()->username.isEmpty()) {
&& !peer->asUser()->username().isEmpty()) {
bots.push_back(peer->asUser());
}
}