mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Revert "Register tg:// scheme on initial launch."
This reverts commit 8cbeadc68a
.
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user