Fix reset_update_state

This commit is contained in:
Daniil Gentili 2018-12-27 12:24:55 +00:00
parent f31af1d645
commit 73f5bec68f

View File

@ -244,13 +244,14 @@ trait UpdateHandler
}
public function reset_update_state()
{
$this->load_update_state()['pts'] = 0;
$this->load_update_state()['pts'] = 1;
$this->load_update_state()['qts'] = 0;
$this->load_update_state()['seq'] = 0;
$this->load_update_state()['date'] = 0;
$this->load_update_state()['date'] = 1;
foreach ($this->channels_state as &$state) {
$state['pts'] = 0;
$state['pts'] = 1;
}
$this->msg_ids = [];
}
public function &load_update_state()
{