aboutsummaryrefslogtreecommitdiff
path: root/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp')
-rw-r--r--xmpp/handlers.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go
index 1222a93..1d8f2bd 100644
--- a/xmpp/handlers.go
+++ b/xmpp/handlers.go
@@ -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 != "" {