AVATAR
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user