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:
@@ -439,8 +439,8 @@ std::unique_ptr<PeerListRow> BlockedBoxController::createRow(
|
||||
return tr::lng_group_status(tr::now);
|
||||
} else if (!user->phone().isEmpty()) {
|
||||
return Ui::FormatPhone(user->phone());
|
||||
} else if (!user->username.isEmpty()) {
|
||||
return '@' + user->username;
|
||||
} else if (!user->username().isEmpty()) {
|
||||
return '@' + user->username();
|
||||
} else if (user->isBot()) {
|
||||
return tr::lng_status_bot(tr::now);
|
||||
}
|
||||
|
Reference in New Issue
Block a user