mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 20:04:45 +01:00
Sessions fixes
This commit is contained in:
parent
8a11ca7524
commit
89b90be411
@ -102,7 +102,7 @@ class Client
|
||||
Loop::defer(static function() use($instance) {
|
||||
$instance->loop(['async' => true]);
|
||||
});
|
||||
} else {
|
||||
} elseif($startSession === true) {
|
||||
$instance->loop(function() use($instance) {
|
||||
yield $instance->start();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user