Revert "Register tg:// scheme on initial launch."

This reverts commit 8cbeadc68a.
This commit is contained in:
John Preston 2024-07-10 11:41:18 +02:00
parent ebba58217c
commit 46b69a938b

View file

@ -270,14 +270,9 @@ void Application::run() {
refreshGlobalProxy(); // Depends on app settings being read.
if (const auto old = Local::oldSettingsVersion()) {
if (old < AppVersion) {
autoRegisterUrlScheme();
Platform::NewVersionLaunched(old);
}
} else {
// Initial launch.
if (const auto old = Local::oldSettingsVersion(); old < AppVersion) {
autoRegisterUrlScheme();
Platform::NewVersionLaunched(old);
}
if (cAutoStart() && !Platform::AutostartSupported()) {