From e72a2c881fc5b51d562de90776f8316c723acb48 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 12 Mar 2019 13:06:50 +0300 Subject: [PATCH] Return back poll data option values. GitOrigin-RevId: 9c90be7c911b734fbb363332e1813cd526d98147 --- td/telegram/PollManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/PollManager.cpp b/td/telegram/PollManager.cpp index cc1f3e1c..f6026271 100644 --- a/td/telegram/PollManager.cpp +++ b/td/telegram/PollManager.cpp @@ -466,7 +466,7 @@ telegram_api::object_ptr PollManager::get_input_poll_o PollId PollManager::create_poll(string &&question, vector &&options) { auto poll = make_unique(); poll->question = std::move(question); - int pos = 0; + int pos = '0'; for (auto &option_text : options) { PollOption option; option.text = std::move(option_text);