2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Check replies_pts before applying.

Fixes #9062.
This commit is contained in:
John Preston
2020-11-17 18:05:35 +03:00
parent ed50aa0d8e
commit 4f6f654e34
4 changed files with 23 additions and 1 deletions

View File

@@ -791,6 +791,10 @@ void Updates::mtpUpdateReceived(const MTPUpdates &updates) {
}
}
int32 Updates::pts() const {
return _ptsWaiter.current();
}
void Updates::updateOnline() {
updateOnline(false);
}