Silence warning for getChannelDifference in just created channel.

GitOrigin-RevId: d795b5e68473279733f564b4b1c85e6a3b335aaf
This commit is contained in:
levlam 2019-04-18 16:31:46 +03:00
parent e6065438de
commit dde79b4190

View File

@ -24893,7 +24893,7 @@ void MessagesManager::on_get_channel_difference(
}
auto new_pts = difference->pts_;
if (request_pts >= new_pts) {
if (request_pts >= new_pts && request_pts > 1) {
LOG(ERROR) << "Receive channelDifference as result of getChannelDifference with pts = " << request_pts
<< " and limit = " << request_limit << " in " << dialog_id << ", but pts has changed from " << d->pts
<< " to " << new_pts << ". Difference: " << oneline(to_string(difference));