mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use UserData::isBot where applicable.
This commit is contained in:
@@ -293,7 +293,7 @@ std::unique_ptr<PeerListRow> BlockedBoxController::createRow(
|
||||
return App::formatPhone(user->phone());
|
||||
} else if (!user->username.isEmpty()) {
|
||||
return '@' + user->username;
|
||||
} else if (user->botInfo) {
|
||||
} else if (user->isBot()) {
|
||||
return tr::lng_status_bot(tr::now);
|
||||
}
|
||||
return tr::lng_blocked_list_unknown_phone(tr::now);
|
||||
|
Reference in New Issue
Block a user