bugfixe
This commit is contained in:
parent
56ae262738
commit
2d74e60373
|
@ -590,6 +590,7 @@ class MTProto extends \Volatile
|
||||||
public function init_authorization()
|
public function init_authorization()
|
||||||
{
|
{
|
||||||
$this->initing_authorization = true;
|
$this->initing_authorization = true;
|
||||||
|
$this->getting_state = true;
|
||||||
foreach ($this->datacenter->sockets as $id => $socket) {
|
foreach ($this->datacenter->sockets as $id => $socket) {
|
||||||
if (strpos($id, 'media')) {
|
if (strpos($id, 'media')) {
|
||||||
continue;
|
continue;
|
||||||
|
@ -615,7 +616,8 @@ class MTProto extends \Volatile
|
||||||
$this->should_serialize = true;
|
$this->should_serialize = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->initing_authorization = true;
|
$this->initing_authorization = faÃlse;
|
||||||
|
$this->getting_state = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function sync_authorization($authorized_dc)
|
public function sync_authorization($authorized_dc)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user