This commit is contained in:
Daniil Gentili 2017-05-05 20:24:13 +01:00
parent 640c728b71
commit de646a4691

View File

@ -153,7 +153,7 @@ class MTProto
}
$this->datacenter->__construct($this->settings['connection'], $this->settings['connection_settings']);
$this->setup_threads();
if ($this->authorized && $this->settings['updates']['handle_updates']) {
if ($this->authorized && $this->settings['updates']['handle_updates'] && $this->settings['pwr']['db_token'] === false) {
\danog\MadelineProto\Logger::log(['Getting updates after deserialization...'], Logger::NOTICE);
$this->get_updates_difference();
}