diff --git a/Telegram/SourceFiles/core/ui_integration.cpp b/Telegram/SourceFiles/core/ui_integration.cpp index bf1b49432..60c9b0045 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);