Add IMPP to vCard4

This commit is contained in:
Bohdan Horbeshko 2022-06-29 20:29:41 -04:00
parent 5628a15ac4
commit 501c1a7daa

View file

@ -421,6 +421,14 @@ func makeVCardPayload(typ byte, id, fn, photo, nickname, given, family, tel, inf
Content: nickname,
},
},
}, stanza.Node{
XMLName: xml.Name{Local: "impp"},
Nodes: []stanza.Node{
stanza.Node{
XMLName: xml.Name{Local: "uri"},
Content: "https://t.me/" + nickname,
},
},
})
}
if family != "" || given != "" {