This commit is contained in:
Sunglocto committed 2026-01-30 13:29:53 +00:00
1 parent 92b01844c4
commit 0c08ec867f
5 files changed
+74 -3

No files matched your search

+5
View File
@@ -11,12 +11,17 @@ import (
type VCard struct {
XMLName xml.Name `xml:"vcard-temp vCard"`
Photo Photo `xml:"PHOTO"`
ResultSet *stanza.ResultSet `xml:"set,omitempty"`
}
func (v *VCard) Namespace() string {
return v.XMLName.Space
}
func (v *VCard) GetSet() *stanza.ResultSet {
return v.ResultSet
}
type Photo struct {
Type string `xml:"TYPE"`
Binval string `xml:"BINVAL"`