GitOrigin-RevId: 297f9332431ae7b3e1b3578ea61e6a59d5cfd068
This commit is contained in:
levlam 2020-01-30 01:50:28 +03:00
parent 4083b4cbee
commit c2bd1ef4b0

View File

@ -1336,7 +1336,7 @@ PollId PollManager::on_get_poll(PollId poll_id, tl_object_ptr<telegram_api::poll
LOG(ERROR) << "Receive correct option " << correct_option_id << " in non-quiz " << poll_id;
}
vector<UserId> recent_voter_user_ids;
if (!td_->auth_manager_->is_bot()) {
if (!is_bot) {
for (auto &user_id_int : poll_results->recent_voters_) {
UserId user_id(user_id_int);
if (user_id.is_valid()) {