Apply fixes from StyleCI
This commit is contained in:
parent
59473ebb31
commit
7b2798ddd9
@ -704,7 +704,9 @@ class MTProto
|
|||||||
$socket->authorized = true;
|
$socket->authorized = true;
|
||||||
break;
|
break;
|
||||||
} catch (\danog\MadelineProto\RPCErrorException $e) {
|
} catch (\danog\MadelineProto\RPCErrorException $e) {
|
||||||
if ($e->rpc === 'DC_ID_INVALID') break;
|
if ($e->rpc === 'DC_ID_INVALID') {
|
||||||
|
break;
|
||||||
|
}
|
||||||
\danog\MadelineProto\Logger::log(['Failure while syncing authorization from DC '.$authorized_dc_id.' to DC '.$id.': '.$e->getMessage()], \danog\MadelineProto\Logger::ERROR);
|
\danog\MadelineProto\Logger::log(['Failure while syncing authorization from DC '.$authorized_dc_id.' to DC '.$id.': '.$e->getMessage()], \danog\MadelineProto\Logger::ERROR);
|
||||||
} // Turns out this DC isn't authorized after all
|
} // Turns out this DC isn't authorized after all
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user