diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 6dab225a..8ba334c4 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -13787,8 +13787,8 @@ Result MessagesManager::process_input_message_text( auto input_message_text = static_cast(input_message_content.get()); if (input_message_text->text_ == nullptr) { if (for_draft) { - return InputMessageText{FormattedText{}, - input_message_text->disable_web_page_preview_, input_message_text->clear_draft_}; + return InputMessageText{FormattedText{}, input_message_text->disable_web_page_preview_, + input_message_text->clear_draft_}; } return Status::Error(400, "Message text can't be empty"); @@ -20288,7 +20288,7 @@ unique_ptr MessagesManager::get_message_content(FormattedText me case telegram_api::messageMediaContact::ID: { auto message_contact = move_tl_object_as(media); if (message_contact->user_id_ != 0) { - td_->contacts_manager_->get_user_id_object(UserId(message_contact->user_id_)); // to ensure updateUser + td_->contacts_manager_->get_user_id_object(UserId(message_contact->user_id_)); // to ensure updateUser } return make_unique(Contact(message_contact->phone_number_, message_contact->first_name_, message_contact->last_name_, message_contact->user_id_));