Silently ignore PERSISTENT_TIMESTAMP_INVALID errors for channels.getDifference.
This commit is contained in:
parent
903d994799
commit
0f05e72fa3
@ -4719,7 +4719,8 @@ class GetChannelDifferenceQuery final : public Td::ResultHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void on_error(Status status) final {
|
void on_error(Status status) final {
|
||||||
if (!td_->messages_manager_->on_get_dialog_error(dialog_id_, status, "GetChannelDifferenceQuery")) {
|
if (!td_->messages_manager_->on_get_dialog_error(dialog_id_, status, "GetChannelDifferenceQuery") &&
|
||||||
|
status.message() != "PERSISTENT_TIMESTAMP_INVALID") {
|
||||||
LOG(ERROR) << "Receive error for GetChannelDifferenceQuery for " << dialog_id_ << " with pts " << pts_
|
LOG(ERROR) << "Receive error for GetChannelDifferenceQuery for " << dialog_id_ << " with pts " << pts_
|
||||||
<< " and limit " << limit_ << ": " << status;
|
<< " and limit " << limit_ << ": " << status;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user