mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Refresh global proxy after settings being read.
Fixes #16600, fixes #17249.
This commit is contained in:
@@ -208,7 +208,6 @@ void Application::run() {
|
||||
style::internal::StartFonts();
|
||||
|
||||
ThirdParty::start();
|
||||
refreshGlobalProxy(); // Depends on Core::IsAppLaunched().
|
||||
|
||||
// Depends on OpenSSL on macOS, so on ThirdParty::start().
|
||||
// Depends on notifications settings.
|
||||
@@ -217,6 +216,8 @@ void Application::run() {
|
||||
startLocalStorage();
|
||||
ValidateScale();
|
||||
|
||||
refreshGlobalProxy(); // Depends on app settings being read.
|
||||
|
||||
if (Local::oldSettingsVersion() < AppVersion) {
|
||||
RegisterUrlScheme();
|
||||
psNewVersion();
|
||||
|
Reference in New Issue
Block a user