aboutsummaryrefslogtreecommitdiff
path: root/xmpp/extensions
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-18 19:04:24 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2021-12-18 19:04:24 +0300
commitf2f20e680bb06ebda76f67f8fae9d7ed12498c63 (patch)
tree03eaeefb422396a6af55128b6b62230a9dd39b43 /xmpp/extensions
parentad6e92e6d602c40e4bd44be785e00f563393192a (diff)
Fix %!(MISSING) and other formatting issues
Diffstat (limited to 'xmpp/extensions')
-rw-r--r--xmpp/extensions/extensions.go6
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{