1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 23:47:48 +01:00

Merge branch 'v8' into secret

This commit is contained in:
Daniil Gentili 2023-09-07 21:37:37 +02:00
commit b3f1624c6a
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
3 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@ final class API extends AbstractAPI
*
* @var string
*/
public const RELEASE = '8.0.0-beta147';
public const RELEASE = '8.0.0-beta148';
/**
* Secret chat was not found.
*

View File

@ -518,6 +518,7 @@ final class Connection
if ($flush && isset($this->writer)) {
$this->writer->resume();
}
$this->connect();
$promise->await();
}
/**

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);