Fix td_api::userFullInfo field order.

GitOrigin-RevId: 420adf21e8be165f4783aa1aca4130fb579fa3c2
This commit is contained in:
levlam 2020-10-24 16:42:17 +03:00
parent a27bf08319
commit bc2de6e5c0

View File

@ -14157,8 +14157,8 @@ tl_object_ptr<td_api::userFullInfo> ContactsManager::get_user_full_info_object(U
CHECK(user_full != nullptr); CHECK(user_full != nullptr);
bool is_bot = is_user_bot(user_id); bool is_bot = is_user_bot(user_id);
return make_tl_object<td_api::userFullInfo>( return make_tl_object<td_api::userFullInfo>(
get_chat_photo_object(td_->file_manager_.get(), user_full->photo), user_full->can_be_called, get_chat_photo_object(td_->file_manager_.get(), user_full->photo), user_full->is_blocked,
user_full->is_blocked, user_full->supports_video_calls, user_full->has_private_calls, user_full->can_be_called, user_full->supports_video_calls, user_full->has_private_calls,
user_full->need_phone_number_privacy_exception, is_bot ? string() : user_full->about, user_full->need_phone_number_privacy_exception, is_bot ? string() : user_full->about,
is_bot ? user_full->about : string(), user_full->common_chat_count, is_bot ? user_full->about : string(), user_full->common_chat_count,
is_bot ? get_bot_info_object(user_id) : nullptr); is_bot ? get_bot_info_object(user_id) : nullptr);