Pass correct dialog_id.

GitOrigin-RevId: 0e81418d9ef01cc90f5550f42fe8ec26a1455c16
This commit is contained in:
levlam 2020-04-04 01:13:59 +03:00
parent fda0fc0adc
commit b4efcc6697

View File

@ -1767,7 +1767,7 @@ static Result<InputMessageContent> create_input_message_content(
return Status::Error(400, "Wrong correct option ID specified"); return Status::Error(400, "Wrong correct option ID specified");
} }
auto r_explanation = auto r_explanation =
process_input_caption(td->contacts_manager_.get(), DialogId(), std::move(type->explanation_), is_bot); process_input_caption(td->contacts_manager_.get(), dialog_id, std::move(type->explanation_), is_bot);
if (r_explanation.is_error()) { if (r_explanation.is_error()) {
return r_explanation.move_as_error(); return r_explanation.move_as_error();
} }