Fix formatting.
GitOrigin-RevId: 32bc29dbf8eb0fe6fa4c4eacad8bb57acc698830
This commit is contained in:
parent
5c81c0ddb2
commit
aa3f1eac49
@ -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");
|
||||
|
Reference in New Issue
Block a user