mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 20:11:26 +01:00
Tentative fix
This commit is contained in:
parent
3d6186235f
commit
7ccbf3af3b
@ -455,12 +455,12 @@ final class DataCenterConnection implements JsonSerializable
|
||||
$this->API->logger->logger('Already connected!', Logger::WARNING);
|
||||
return;
|
||||
}
|
||||
$f = new DeferredFuture;
|
||||
$this->connectionsPromise = $f->getFuture();
|
||||
$this->ctx = $ctx->getCtx();
|
||||
$this->connectMore(1);
|
||||
$this->restoreBackup();
|
||||
$f = new DeferredFuture;
|
||||
$f->complete();
|
||||
$this->connectionsPromise = $f->getFuture();
|
||||
if (isset($this->connectionsDeferred)) {
|
||||
$connectionsDeferred = $this->connectionsDeferred;
|
||||
$this->connectionsDeferred = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user