mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-27 07:52:57 +02:00
Allow ton:// links in webapps.
This commit is contained in:
parent
dd8fdfc3d4
commit
7f7b764f7b
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b9f9e981c81a78120a023822d2aa908d38b6795f
|
||||
Subproject commit 04c45d069fc0088740b9637bc5da414ee82be198
|
Loading…
Add table
Reference in a new issue