From b4efcc669791d0904d96f107794efc220cd27fa2 Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 4 Apr 2020 01:13:59 +0300 Subject: [PATCH] Pass correct dialog_id. GitOrigin-RevId: 0e81418d9ef01cc90f5550f42fe8ec26a1455c16 --- td/telegram/MessageContent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/MessageContent.cpp b/td/telegram/MessageContent.cpp index d8c7e78c..04f6d03b 100644 --- a/td/telegram/MessageContent.cpp +++ b/td/telegram/MessageContent.cpp @@ -1767,7 +1767,7 @@ static Result create_input_message_content( return Status::Error(400, "Wrong correct option ID specified"); } 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()) { return r_explanation.move_as_error(); }