diff --git a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp index 92664d402e..aa99af3ee8 100644 --- a/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp +++ b/Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp @@ -1459,7 +1459,8 @@ bool WebViewInstance::botHandleLocalUri(QString uri, bool keepOpen) { if (Core::InternalPassportLink(local)) { return true; } else if (!local.startsWith(u"tg://"_q, Qt::CaseInsensitive) - && !local.startsWith(u"tonsite://"_q, Qt::CaseInsensitive)) { + && !local.startsWith(u"tonsite://"_q, Qt::CaseInsensitive) + && !local.startsWith(u"ton://"_q, Qt::CaseInsensitive)) { return false; } const auto bot = _bot; diff --git a/Telegram/lib_webview b/Telegram/lib_webview index b9f9e981c8..04c45d069f 160000 --- a/Telegram/lib_webview +++ b/Telegram/lib_webview @@ -1 +1 @@ -Subproject commit b9f9e981c81a78120a023822d2aa908d38b6795f +Subproject commit 04c45d069fc0088740b9637bc5da414ee82be198