mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
commit
dd38e2b021
@ -70,10 +70,10 @@ class Client
|
||||
Files::getSessionSettings($session),
|
||||
);
|
||||
$instance = new MadelineProto\API($file, $settings);
|
||||
$instance->async(true);
|
||||
if (self::isSessionLoggedIn($instance)) {
|
||||
$instance->unsetEventHandler();
|
||||
}
|
||||
$instance->async(true);
|
||||
|
||||
$this->instances[$session] = $instance;
|
||||
return $instance;
|
||||
|
Loading…
Reference in New Issue
Block a user