Bugfix
This commit is contained in:
parent
6a6fcb782d
commit
c16328396d
2
docs
2
docs
@ -1 +1 @@
|
|||||||
Subproject commit 04cf2dff613a64382b3b135df2020bdcde756b1e
|
Subproject commit dc05dc5cebfcec90ac7851928c522a4d635dbab6
|
@ -21,6 +21,7 @@ namespace danog\MadelineProto\Loop\Update;
|
|||||||
use Amp\Loop;
|
use Amp\Loop;
|
||||||
use danog\MadelineProto\Loop\Impl\ResumableSignalLoop;
|
use danog\MadelineProto\Loop\Impl\ResumableSignalLoop;
|
||||||
use danog\MadelineProto\RPCErrorException;
|
use danog\MadelineProto\RPCErrorException;
|
||||||
|
use danog\MadelineProto\Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update loop.
|
* Update loop.
|
||||||
@ -88,6 +89,13 @@ class UpdateLoop extends ResumableSignalLoop
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
} catch (Exception $e) {
|
||||||
|
if (in_array($e->getMessage(), ['This peer is not present in the internal peer database'])) {
|
||||||
|
$feeder->signal(true);
|
||||||
|
$API->logger->logger("Channel private, exiting $this");
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user