diff --git a/Telegram/SourceFiles/core/application.cpp b/Telegram/SourceFiles/core/application.cpp index f5c58d105d..225452dc36 100644 --- a/Telegram/SourceFiles/core/application.cpp +++ b/Telegram/SourceFiles/core/application.cpp @@ -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();