Apply user photo for yet unreceived users.
GitOrigin-RevId: 12128a7610733fa614e6d56e3a9d116de09e3251
This commit is contained in:
parent
22b695515c
commit
b2c52ede12
@ -7173,7 +7173,7 @@ void ContactsManager::on_get_user(tl_object_ptr<telegram_api::User> &&user_ptr,
|
||||
if (is_received || !user->phone_.empty()) {
|
||||
on_update_user_phone_number(u, user_id, std::move(user->phone_));
|
||||
}
|
||||
if (is_received || u->need_apply_min_photo) {
|
||||
if (is_received || u->need_apply_min_photo || !u->is_received) {
|
||||
on_update_user_photo(u, user_id, std::move(user->photo_), source);
|
||||
}
|
||||
if (is_received) {
|
||||
|
Loading…
Reference in New Issue
Block a user