mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 05:34:42 +01:00
Small bugfix
This commit is contained in:
parent
27eb6c1a29
commit
cf66aec891
@ -704,6 +704,7 @@ class MTProto
|
||||
|
||||
public function sync_authorization($id)
|
||||
{
|
||||
if (!isset($this->datacenter->sockets[$id])) return false;
|
||||
$socket = $this->datacenter->sockets[$id];
|
||||
if ($this->authorized === self::LOGGED_IN && $socket->authorized === false) {
|
||||
foreach ($this->datacenter->sockets as $authorized_dc_id => $authorized_socket) {
|
||||
|
Loading…
Reference in New Issue
Block a user