Fixed register protocol
This commit is contained in:
parent
5a658f919a
commit
dc9de1396d
@ -4182,6 +4182,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
started = true;
|
started = true;
|
||||||
try {
|
try {
|
||||||
navigator.registerProtocolHandler('tg', '#im?tgaddr=%s', 'Telegram Web');
|
navigator.registerProtocolHandler('tg', '#im?tgaddr=%s', 'Telegram Web');
|
||||||
|
} catch (e) {}
|
||||||
|
try {
|
||||||
navigator.registerProtocolHandler('web+tg', '#im?tgaddr=%s', 'Telegram Web');
|
navigator.registerProtocolHandler('web+tg', '#im?tgaddr=%s', 'Telegram Web');
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user