Apply fixes from StyleCI
This commit is contained in:
parent
4ea3b83ae1
commit
8cf425bd82
@ -236,7 +236,9 @@ trait UpdateHandler
|
|||||||
while (!isset($difference)) {
|
while (!isset($difference)) {
|
||||||
try {
|
try {
|
||||||
$difference = $this->method_call('updates.getDifference', ['pts' => $this->get_update_state()['pts'], 'date' => $this->get_update_state()['date'], 'qts' => $this->get_update_state()['qts']], ['datacenter' => $this->datacenter->curdc]);
|
$difference = $this->method_call('updates.getDifference', ['pts' => $this->get_update_state()['pts'], 'date' => $this->get_update_state()['date'], 'qts' => $this->get_update_state()['qts']], ['datacenter' => $this->datacenter->curdc]);
|
||||||
} catch (\danog\MadelineProto\PTSException $e) { $this->got_state = false; }
|
} catch (\danog\MadelineProto\PTSException $e) {
|
||||||
|
$this->got_state = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
\danog\MadelineProto\Logger::log(['Got '.$difference['_']], \danog\MadelineProto\Logger::ULTRA_VERBOSE);
|
\danog\MadelineProto\Logger::log(['Got '.$difference['_']], \danog\MadelineProto\Logger::ULTRA_VERBOSE);
|
||||||
$this->get_update_state()['sync_loading'] = false;
|
$this->get_update_state()['sync_loading'] = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user