Fix formatting.

GitOrigin-RevId: 32bc29dbf8eb0fe6fa4c4eacad8bb57acc698830
This commit is contained in:
levlam 2018-01-31 16:49:28 +03:00
parent 5c81c0ddb2
commit aa3f1eac49

View File

@ -13787,8 +13787,8 @@ Result<InputMessageText> MessagesManager::process_input_message_text(
auto input_message_text = static_cast<td_api::inputMessageText *>(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");