1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 01:14:39 +01:00

fix update handling (#59)

This commit is contained in:
Hunter Ashton 2017-02-08 06:05:55 -06:00 committed by Daniil Gentili
parent f7f80241f2
commit dbf8a2a366

View File

@ -339,7 +339,7 @@ trait UpdateHandler
return false;
}
if ($update['pts'] > $cur_state['pts']) {
if ($update['pts'] >= $cur_state['pts']) {
$cur_state['pts'] = $update['pts'];
$this->should_serialize = true;
$pop_pts = true;