diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2021-12-18 19:04:24 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2021-12-18 19:04:24 +0300 |
commit | f2f20e680bb06ebda76f67f8fae9d7ed12498c63 (patch) | |
tree | 03eaeefb422396a6af55128b6b62230a9dd39b43 /xmpp/extensions | |
parent | ad6e92e6d602c40e4bd44be785e00f563393192a (diff) |
Fix %!(MISSING) and other formatting issues
Diffstat (limited to 'xmpp/extensions')
-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{ |