AVATAR
This commit is contained in:
1 parent
92b01844c4
commit
0c08ec867f
5 files changed
+74
-3
No files matched your search
@@ -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