mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 04:35:12 +01:00
Small fix
This commit is contained in:
parent
4e6fac06d3
commit
0e28029907
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user