Skip to content

Commit

Permalink
Fix: clean start
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Jan 17, 2023
1 parent 986aeba commit 0dd8ff5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,8 @@
$settings['telegram']['connection_settings']['all']['proxy_extra'] = [];
}

if (empty($settings['telegram']['app_info']['api_id'])) {
unset($settings['telegram']['app_info']);
}

return $settings;

0 comments on commit 0dd8ff5

Please sign in to comment.