Config fix

This commit is contained in:
Alexander Pankratov 2020-01-20 22:53:17 +03:00
parent a9b118d5b2
commit 0e4e0b84dd

View File

@ -47,9 +47,9 @@ $settings = [
],
];
if (empty($settings['connection_settings']['all']['proxy_extra']['address'])) {
$settings['connection_settings']['all']['proxy'] = '\Socket';
$settings['connection_settings']['all']['proxy_extra'] = [];
if (empty($settings['telegram']['connection_settings']['all']['proxy_extra']['address'])) {
$settings['telegram']['connection_settings']['all']['proxy'] = '\Socket';
$settings['telegram']['connection_settings']['all']['proxy_extra'] = [];
}
return $settings;