Ignore MESSAGE_ID_INVALID in GetPollResultsQuery.
GitOrigin-RevId: 08083ab18dd4273e1967dbde5225f5999bc074bf
This commit is contained in:
parent
9f9d429832
commit
0bf312ffd5
@ -77,7 +77,8 @@ class GetPollResultsQuery : public Td::ResultHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void on_error(uint64 id, Status status) override {
|
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_;
|
LOG(ERROR) << "Receive " << status << ", while trying to get results of " << poll_id_;
|
||||||
}
|
}
|
||||||
promise_.set_error(std::move(status));
|
promise_.set_error(std::move(status));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user