Fix seq updating after all updates was processed.
GitOrigin-RevId: 11070e368d10d8378b5b30010a5ea1028d4e2fbe
This commit is contained in:
parent
4357a24a1c
commit
4aa10dbcc5
@ -1335,13 +1335,8 @@ void UpdatesManager::on_pending_updates(vector<tl_object_ptr<telegram_api::Updat
|
||||
return;
|
||||
}
|
||||
|
||||
if (processed_updates == updates.size()) {
|
||||
if (seq_begin || seq_end) {
|
||||
LOG(ERROR) << "All updates from " << source << " was processed but seq = " << seq_
|
||||
<< ", seq_begin = " << seq_begin << ", seq_end = " << seq_end;
|
||||
} else {
|
||||
LOG(INFO) << "All updates was processed";
|
||||
}
|
||||
if (processed_updates == updates.size() && seq_begin == 0 && seq_end == 0) {
|
||||
LOG(INFO) << "All updates was processed";
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user