Apply fixes from StyleCI
This commit is contained in:
parent
59473ebb31
commit
7b2798ddd9
@ -704,7 +704,9 @@ class MTProto
|
||||
$socket->authorized = true;
|
||||
break;
|
||||
} 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);
|
||||
} // Turns out this DC isn't authorized after all
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user