1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 01:14:39 +01:00
This commit is contained in:
Daniil Gentili 2023-04-22 21:44:43 +02:00
parent a80042a54b
commit 4d5e8006bf
2 changed files with 7 additions and 2 deletions

View File

@ -1028,6 +1028,13 @@ abstract class InternalDoc
{
return \danog\MadelineProto\Tools::inflateStripped($stripped);
}
/**
* Initialize self-restart hack.
*/
public function initSelfRestart(): void
{
$this->wrapper->getAPI()->initSelfRestart();
}
/**
* Whether this is altervista.
*/

View File

@ -45,8 +45,6 @@ trait Loop
{
private ?DeferredFuture $stopDeferred = null;
/**
* @internal
*
* Initialize self-restart hack.
*/
public function initSelfRestart(): void