mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Handle tonsite:// links from the system.
This commit is contained in:
@@ -1107,8 +1107,7 @@ void Instance::showTonSite(
|
||||
case Type::OpenPage:
|
||||
case Type::OpenLink:
|
||||
if (urlChecked) {
|
||||
File::OpenUrl(event.url);
|
||||
closeAll();
|
||||
UrlClickHandler::Open(event.url);
|
||||
} else if (tonsite) {
|
||||
showTonSite(event.url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user