diff --git a/td/telegram/PollManager.cpp b/td/telegram/PollManager.cpp index f6026271d..db486ce95 100644 --- a/td/telegram/PollManager.cpp +++ b/td/telegram/PollManager.cpp @@ -77,7 +77,8 @@ class GetPollResultsQuery : public Td::ResultHandler { } void on_error(uint64 id, Status status) override { - if (!td->messages_manager_->on_get_dialog_error(dialog_id_, status, "GetPollResultsQuery")) { + if (!td->messages_manager_->on_get_dialog_error(dialog_id_, status, "GetPollResultsQuery") && + status.message() != "MESSAGE_ID_INVALID") { LOG(ERROR) << "Receive " << status << ", while trying to get results of " << poll_id_; } promise_.set_error(std::move(status));