Registering url handlers

Some applications, like Telegram ahve some MimeType entries in their desktop files which don’t seem to be respected. Are there any plans for this?

For illustrative purposes, this is the entry in the telegram-sergiusens snap:

MimeType=x-scheme-handler/tg;
1 Like

Could you elaborate a bit more in what way the mime-type is not respected?

I just tested this a bit and the MimeType is correctly written to /var/lib/snapd/desktop/applications/telegram-sergiusens_telegram.desktop and when I run xdg-open tg:something the telegram app starts up.