Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Apr 22, 2023
1 parent a80042a commit 4d5e800
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/InternalDoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,13 @@ public static function inflateStripped(string $stripped): string
{
return \danog\MadelineProto\Tools::inflateStripped($stripped);
}
/**
* Initialize self-restart hack.
*/
public function initSelfRestart(): void
{
$this->wrapper->getAPI()->initSelfRestart();
}
/**
* Whether this is altervista.
*/
Expand Down
2 changes: 0 additions & 2 deletions src/Wrappers/Loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ trait Loop
{
private ?DeferredFuture $stopDeferred = null;
/**
* @internal
*
* Initialize self-restart hack.
*/
public function initSelfRestart(): void
Expand Down

0 comments on commit 4d5e800

Please sign in to comment.