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:
commit
b3f1624c6a
@ -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.
|
||||
*
|
||||
|
@ -518,6 +518,7 @@ final class Connection
|
||||
if ($flush && isset($this->writer)) {
|
||||
$this->writer->resume();
|
||||
}
|
||||
$this->connect();
|
||||
$promise->await();
|
||||
}
|
||||
/**
|
||||
|
@ -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