From c08084b1e65ebb182c178d6d6a6a87cb50b31f4f Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 24 Jan 2020 04:43:19 +0300 Subject: [PATCH] Apply correct_option_id from closed min-poll. GitOrigin-RevId: ef1641a295c1022ee6d4cec9a28e30927f25e85b --- td/telegram/PollManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/td/telegram/PollManager.cpp b/td/telegram/PollManager.cpp index 544e3d861..da355299c 100644 --- a/td/telegram/PollManager.cpp +++ b/td/telegram/PollManager.cpp @@ -1274,6 +1274,8 @@ PollId PollManager::on_get_poll(PollId poll_id, tl_object_ptris_closed) { bool is_correct = (poll_result->flags_ & telegram_api::pollAnswerVoters::CORRECT_MASK) != 0; if (is_correct) { if (correct_option_id != -1) {