Fix: clean start

This commit is contained in:
Alexander Pankratov 2023-01-17 12:39:06 +01:00
parent 986aebafe7
commit 0dd8ff5b62

View File

@ -77,4 +77,8 @@ if (empty($settings['telegram']['connection_settings']['all']['proxy_extra']['ad
$settings['telegram']['connection_settings']['all']['proxy_extra'] = [];
}
if (empty($settings['telegram']['app_info']['api_id'])) {
unset($settings['telegram']['app_info']);
}
return $settings;