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

Start passport support: handle link, receive form.

This commit is contained in:
John Preston
2018-03-18 12:51:14 +04:00
parent e122353bfb
commit ddb4527159
18 changed files with 471 additions and 58 deletions

View File

@@ -576,6 +576,8 @@ namespace {
}
}
namespace Platform {
void RegisterCustomScheme() {
if (cExeName().isEmpty()) {
return;
@@ -621,8 +623,10 @@ void RegisterCustomScheme() {
#endif // !TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
}
} // namespace Platform
void psNewVersion() {
RegisterCustomScheme();
Platform::RegisterCustomScheme();
if (Local::oldSettingsVersion() < 8051) {
AppUserModelId::checkPinned();
}