This commit is contained in:
2026-01-30 13:29:53 +00:00
parent 92b01844c4
commit 0c08ec867f
5 changed files with 74 additions and 3 deletions

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"`