diff --git a/Telegram/SourceFiles/core/application.cpp b/Telegram/SourceFiles/core/application.cpp index 16eb0cf0f..4f6719405 100644 --- a/Telegram/SourceFiles/core/application.cpp +++ b/Telegram/SourceFiles/core/application.cpp @@ -238,7 +238,7 @@ void Application::run() { if (const auto old = Local::oldSettingsVersion(); old < AppVersion) { Platform::InstallLauncher(); - RegisterUrlScheme(); + InvokeQueued(this, [] { RegisterUrlScheme(); }); Platform::NewVersionLaunched(old); } diff --git a/Telegram/lib_base b/Telegram/lib_base index 1bc41f2cf..a21505416 160000 --- a/Telegram/lib_base +++ b/Telegram/lib_base @@ -1 +1 @@ -Subproject commit 1bc41f2cf875345c0965687fd8439f83aaa7738a +Subproject commit a21505416a8e64368925e02f13de2d97f7b476b3