From f2f20e680bb06ebda76f67f8fae9d7ed12498c63 Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Sat, 18 Dec 2021 11:04:24 -0500 Subject: Fix %!(MISSING) and other formatting issues --- xmpp/extensions/extensions.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xmpp/extensions') 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{ -- cgit v1.2.3