2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use RegisterUrlScheme from lib_base

This commit is contained in:
Ilya Fedin
2021-07-18 07:25:01 +04:00
committed by John Preston
parent 9b1d967967
commit 49fed41dfa
7 changed files with 18 additions and 191 deletions

View File

@@ -137,7 +137,7 @@ auto GenerateCodes() {
}
});
codes.emplace(qsl("registertg"), [](SessionController *window) {
Platform::RegisterCustomScheme(true);
Core::Application::RegisterUrlScheme();
Ui::Toast::Show("Forced custom scheme register.");
});