1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 06:59:01 +01:00
This commit is contained in:
Daniil Gentili 2023-12-19 11:29:27 +01:00
parent d2d187bc9a
commit 491016b185

View File

@ -1313,6 +1313,16 @@ final class MTProto implements TLCallback, LoggerGetter, SettingsGetter
foreach ($this->secretChats as $chat) {
$chat->startFeedLoop();
}
if ($this->event_handler_instance instanceof EventHandler
&& $f = $this->event_handler_instance->waitForInternalStart()
) {
$f->map(function (): void {
foreach ($this->updateQueue as $update) {
$this->handleUpdate($update);
}
});
}
}
/**
* Store shared phone config.