draft openTelegram

This commit is contained in:
Matteo Manzinello 2019-07-19 11:57:34 +02:00
parent 248f29c12d
commit bb429d3f7e

View File

@ -487,16 +487,13 @@ const actions = {
mailToEncoded(encEmail); mailToEncoded(encEmail);
}, },
openWhatsApp: tel => { openWhatsApp: (tel, msg = "") => {
let waUrl = "https://wa.me/" + tel; let waUrl = "https://wa.me/" + tel;
window.open(waUrl, "_blank"); window.open(waUrl, "_blank");
}, },
openTelegram: tel => { openTelegram: (tel, msg = "") => {
// TODO let tgUrl = "tg://msg?text=" + msg + "&to=" + tel;
let tgUrl = "";
window.open(tgUrl, "_blank"); window.open(tgUrl, "_blank");
}, },