Skip to content

Convert https://t.me/ URLs to tg:// scheme in start URL handling#30325

Merged
john-preston merged 1 commit intotelegramdesktop:devfrom
futpib:fix-https-tme-start-urls
Feb 27, 2026
Merged

Convert https://t.me/ URLs to tg:// scheme in start URL handling#30325
john-preston merged 1 commit intotelegramdesktop:devfrom
futpib:fix-https-tme-start-urls

Conversation

@futpib
Copy link
Contributor

@futpib futpib commented Feb 21, 2026

Before this fix Telegram https://t.me/durov/6 did nothing, after this fix it opens the post

checkStartUrls() passed URLs directly to openLocalUrl() which only
handles tg:// scheme URLs. When https://t.me/ links were passed as
command-line arguments, they were silently ignored. Now URLs are
converted via TryConvertUrlToLocal() before processing, matching the
behavior used when clicking links inside the app.
@john-preston
Copy link
Member

Thanks!

@john-preston john-preston merged commit 9dc236b into telegramdesktop:dev Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants