Another small fix
This commit is contained in:
parent
a8314688e1
commit
a1a06e21d0
@ -306,7 +306,7 @@ class MTProto
|
|||||||
if (!isset($this->v) || $this->v !== self::V) {
|
if (!isset($this->v) || $this->v !== self::V) {
|
||||||
\danog\MadelineProto\Logger::log([\danog\MadelineProto\Lang::$current_lang['serialization_ofd']], Logger::WARNING);
|
\danog\MadelineProto\Logger::log([\danog\MadelineProto\Lang::$current_lang['serialization_ofd']], Logger::WARNING);
|
||||||
foreach ($this->datacenter->sockets as $dc_id => $socket) {
|
foreach ($this->datacenter->sockets as $dc_id => $socket) {
|
||||||
if ($this->authorized === self::LOGGED_IN && strpos($dc_id, '_') === false) {
|
if ($this->authorized === self::LOGGED_IN && strpos($dc_id, '_') === false && $socket->auth_key !== NULL && $socket->temp_auth_key !== NULL) {
|
||||||
$socket->authorized = true;
|
$socket->authorized = true;
|
||||||
}
|
}
|
||||||
} //$this->authorized === self::LOGGED_IN; }
|
} //$this->authorized === self::LOGGED_IN; }
|
||||||
|
Loading…
Reference in New Issue
Block a user