mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 10:31:13 +01:00
Fix
This commit is contained in:
parent
8e171c90fc
commit
6ce6fbe940
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 94874098b3a3d0dd8adf48d425845a04433ffccd
|
||||
Subproject commit 5da30efc5233a9ef6e6804dd48cdd89170e56209
|
@ -1 +1 @@
|
||||
Subproject commit 32214a5ad3aa7ffdf4cd7a1592b98990ca5a559b
|
||||
Subproject commit 453cf521d71f99f21f84fff96651c744b0f99a34
|
@ -166,7 +166,8 @@ final class DataCenterConnection implements JsonSerializable
|
||||
}
|
||||
if ($media) {
|
||||
$this->link(-$this->datacenter);
|
||||
if ($this->hasTempAuthKey()) {
|
||||
if ($this->hasTempAuthKey() && $this->isBound()) {
|
||||
$this->syncAuthorization();
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -197,6 +198,7 @@ final class DataCenterConnection implements JsonSerializable
|
||||
$this->syncAuthorization();
|
||||
}
|
||||
} finally {
|
||||
$logger->logger("Done initing auth for DC {$this->datacenter}", Logger::NOTICE);
|
||||
EventLoop::queue($lock->release(...));
|
||||
}
|
||||
if ($this->hasTempAuthKey()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user