aboutsummaryrefslogtreecommitdiff
path: root/xmpp/extensions/extensions.go
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp/extensions/extensions.go')
-rw-r--r--xmpp/extensions/extensions.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmpp/extensions/extensions.go b/xmpp/extensions/extensions.go
index 878770a..fac5e7b 100644
--- a/xmpp/extensions/extensions.go
+++ b/xmpp/extensions/extensions.go
@@ -32,6 +32,7 @@ type IqVcardTemp struct {
N IqVcardN
Tel IqVcardTel
Photo IqVcardPhoto
+ Desc IqVcardDesc
ResultSet *stanza.ResultSet `xml:"set,omitempty"`
}
@@ -104,6 +105,12 @@ type IqVcardPhotoBinval struct {
Text string `xml:",chardata"`
}
+// IqVcardDesc is vCard/DESC
+type IqVcardDesc struct {
+ XMLName xml.Name `xml:"DESC"`
+ Text string `xml:",chardata"`
+}
+
// Namespace is a namespace!
func (c PresenceNickExtension) Namespace() string {
return c.XMLName.Space