diff --git a/src/danog/MadelineProto/Settings.php b/src/danog/MadelineProto/Settings.php index 3a78bf095..ad255471f 100644 --- a/src/danog/MadelineProto/Settings.php +++ b/src/danog/MadelineProto/Settings.php @@ -139,6 +139,7 @@ class Settings extends SettingsAbstract $this->secretChats->mergeArray($settings); $this->serialization->mergeArray($settings); $this->schema->mergeArray($settings); + $this->ipc->mergeArray($settings); switch ($settings['db']['type'] ?? 'memory') { case 'memory': diff --git a/src/danog/MadelineProto/Settings/Ipc.php b/src/danog/MadelineProto/Settings/Ipc.php index 55853955f..8500133f9 100644 --- a/src/danog/MadelineProto/Settings/Ipc.php +++ b/src/danog/MadelineProto/Settings/Ipc.php @@ -15,6 +15,7 @@ class Ipc extends SettingsAbstract public function mergeArray(array $settings): void { + $this->setSlow($settings['ipc']['slow'] ?? $this->getSlow()); } /**