1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 04:35:12 +01:00

Small fix

This commit is contained in:
Daniil Gentili 2023-09-07 21:00:54 +02:00
parent 4e6fac06d3
commit 0e28029907
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -65,6 +65,7 @@ final class ReadLoop extends Loop
&& !$this->connection->hasPendingCalls()
&& $this->connection->isMedia()
&& !$this->connection->isWriting()
&& $this->shared->hasTempAuthKey()
) {
$this->logger->logger("Got NothingInTheSocketException in DC {$this->datacenter}, disconnecting because we have nothing to do...", Logger::ERROR);
$this->connection->disconnect(true);