From edc47851aa14610ca858179d3c7c476bcec1e600 Mon Sep 17 00:00:00 2001 From: Matteo Manzinello Date: Thu, 19 Sep 2019 13:41:23 +0200 Subject: [PATCH] data-skype --- src/mailgo.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mailgo.js b/src/mailgo.js index 6c8e106..3df1452 100644 --- a/src/mailgo.js +++ b/src/mailgo.js @@ -465,6 +465,11 @@ const mailgoRender = (type = MAIL_TYPE, mailgo) => { telegramUsername = mailgo.getAttribute("data-telegram"); } + // Telegram username + if (mailgo.hasAttribute("data-skype")) { + skypeUsername = mailgo.getAttribute("data-skype"); + } + // actions telegramButton = getE("mailgo-telegram"); waButton = getE("mailgo-wa");