More fixes for getting results of being voted poll.
GitOrigin-RevId: a1a8b74d3fd42a1bb6b68e7e6fbd5a3a57026a40
This commit is contained in:
parent
7143ac4070
commit
438d39e4de
@ -745,6 +745,10 @@ void PollManager::on_update_poll_timeout(PollId poll_id) {
|
||||
if (get_poll_is_closed(poll_id)) {
|
||||
return;
|
||||
}
|
||||
if (pending_answers_.find(poll_id) != pending_answers_.end()) {
|
||||
LOG(INFO) << "Skip fetching results of " << poll_id << ", because it is being voted now";
|
||||
return;
|
||||
}
|
||||
|
||||
auto it = poll_messages_.find(poll_id);
|
||||
if (it == poll_messages_.end()) {
|
||||
|
Reference in New Issue
Block a user