From 74f7fa80b7882fb67baa42e0138379aa36e9f455 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 1 Aug 2024 16:36:13 +0200 Subject: [PATCH] Fix opening .ton links. --- Telegram/SourceFiles/core/ui_integration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/core/ui_integration.cpp b/Telegram/SourceFiles/core/ui_integration.cpp index bf1b494328..60c9b00454 100644 --- a/Telegram/SourceFiles/core/ui_integration.cpp +++ b/Telegram/SourceFiles/core/ui_integration.cpp @@ -239,7 +239,7 @@ bool UiIntegration::handleUrlClick( Core::App().openLocalUrl(local, context); return true; } else if (local.startsWith(u"tonsite://"_q, Qt::CaseInsensitive)) { - Core::App().iv().showTonSite(url, context); + Core::App().iv().showTonSite(local, context); return true; } else if (local.startsWith(u"internal:"_q, Qt::CaseInsensitive)) { Core::App().openInternalUrl(local, context);