From ba8a8730a505e0e868c94ba1f572acde5cbc829e Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Jun 2024 22:30:15 +0200 Subject: [PATCH] Bump --- src/Migrations/StartUpFixes.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Migrations/StartUpFixes.php b/src/Migrations/StartUpFixes.php index bbd78e7..f454f57 100644 --- a/src/Migrations/StartUpFixes.php +++ b/src/Migrations/StartUpFixes.php @@ -2,10 +2,13 @@ namespace TelegramApiServer\Migrations; +use danog\MadelineProto\Magic; + class StartUpFixes { public static function fix(): void { define('MADELINE_WORKER_TYPE', 'madeline-ipc'); + Magic::$isIpcWorker = true; } } \ No newline at end of file