diff options
Diffstat (limited to 'xmpp/extensions/extensions.go')
-rw-r--r-- | xmpp/extensions/extensions.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmpp/extensions/extensions.go b/xmpp/extensions/extensions.go index 594140f..ea00008 100644 --- a/xmpp/extensions/extensions.go +++ b/xmpp/extensions/extensions.go @@ -32,6 +32,7 @@ type IqVcardTemp struct { N IqVcardN Tel IqVcardTel Photo IqVcardPhoto + ResultSet *stanza.ResultSet `xml:"set,omitempty"` } // IqVcardFn is vCard/FN @@ -118,6 +119,11 @@ func (c IqVcardTemp) Namespace() string { return c.XMLName.Space } +// Namespace is a namespace! +func (c IqVcardTemp) GetSet() *stanza.ResultSet { + return c.ResultSet +} + func init() { // presence nick stanza.TypeRegistry.MapExtension(stanza.PKTPresence, xml.Name{ |