Better source in on_update_user_photo.

GitOrigin-RevId: 4ba2c1fb4f6b1f98045b7e5ed1ca292a09174bd9
This commit is contained in:
levlam 2019-06-27 03:00:42 +03:00
parent d7e7b6291a
commit d5c7d0a3f9

View File

@ -5134,7 +5134,7 @@ void ContactsManager::on_get_user(tl_object_ptr<telegram_api::User> &&user_ptr,
if (is_received) {
on_update_user_phone_number(u, user_id, std::move(user->phone_));
}
on_update_user_photo(u, user_id, std::move(user->photo_), "on_get_user");
on_update_user_photo(u, user_id, std::move(user->photo_), source);
if (is_received) {
on_update_user_online(u, user_id, std::move(user->status_));