mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-12-02 09:17:46 +01:00
Fix: clean start
This commit is contained in:
parent
986aebafe7
commit
0dd8ff5b62
@ -77,4 +77,8 @@ if (empty($settings['telegram']['connection_settings']['all']['proxy_extra']['ad
|
|||||||
$settings['telegram']['connection_settings']['all']['proxy_extra'] = [];
|
$settings['telegram']['connection_settings']['all']['proxy_extra'] = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (empty($settings['telegram']['app_info']['api_id'])) {
|
||||||
|
unset($settings['telegram']['app_info']);
|
||||||
|
}
|
||||||
|
|
||||||
return $settings;
|
return $settings;
|
Loading…
Reference in New Issue
Block a user