tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

[Feature Request] Add an option to disable tg:// protocol

Open xmha97 opened this issue 3 years ago • 2 comments
trafficstars

Is your feature request related to a problem?

Hi, I using the portable version of Telegram. The tg:// protocol is added every time I open the program. This causes the protocol to malfunction.

Describe the solution you'd like

image Please add an option to disable tg:// protocol

Describe alternatives you've considered

I created the file below and have to run every time:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\tg]
"URL Protocol"=""
@="URL:Telegram Link"

[HKEY_CLASSES_ROOT\tg\DefaultIcon]
@="\"C:\\Users\\User\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe,1\""

[HKEY_CLASSES_ROOT\tg\shell]

[HKEY_CLASSES_ROOT\tg\shell\open]

[HKEY_CLASSES_ROOT\tg\shell\open\command]
@="\"C:\\Users\\User\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe\" -workdir \"C:/Users/User/AppData/Roaming/Telegram Desktop/\" -- \"%1\""

Additional context

I know that Telegram does not pay any attention to users' requests, and this issue will be closed for a few more days without being checked. 😶

xmha97 avatar Feb 06 '22 17:02 xmha97

+1 compatible for portable telegram

3xploiton3 avatar Sep 07 '22 11:09 3xploiton3

Yep, even TDesktop portable makes registry traces almost every time after autoupdate within TG. [HKEY_CLASSES_ROOT\tg] Why? I have to refresh regedit and manually delete it. I don't need it. I specially use portable version that supposed no registry traces by default.

Twilightssuperb avatar Nov 08 '22 10:11 Twilightssuperb

https://github.com/telegramdesktop/tdesktop/commit/17bb430006c155305dbb5407fd3d081326af9b1b

Aokromes avatar Jul 02 '24 14:07 Aokromes