mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 05:54:41 +01:00
revert
This commit is contained in:
parent
6c326305eb
commit
3ec8ad8a81
@ -272,7 +272,7 @@ class DataCenter
|
||||
}
|
||||
foreach ($ctxs as $ctx) {
|
||||
try {
|
||||
if ($old && $this->sockets[$dc_number]->hasConnection($id)) {
|
||||
if ($old) {
|
||||
$this->API->logger->logger("Reconnecting to DC $dc_number ($id) from existing", \danog\MadelineProto\Logger::WARNING);
|
||||
$this->sockets[$dc_number]->setExtra($this->API);
|
||||
yield $this->sockets[$dc_number]->connect($ctx, $id);
|
||||
|
Loading…
Reference in New Issue
Block a user