Add IMPP to vCard4
This commit is contained in:
parent
5628a15ac4
commit
501c1a7daa
|
@ -421,6 +421,14 @@ func makeVCardPayload(typ byte, id, fn, photo, nickname, given, family, tel, inf
|
||||||
Content: nickname,
|
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 != "" {
|
if family != "" || given != "" {
|
||||||
|
|
Loading…
Reference in a new issue