forked from jshiffer/go-xmpp
clientMessage add ",any" tag, use for hasn't matched element
This commit is contained in:
parent
cbdf478ba7
commit
64821d5df9
4
xmpp.go
4
xmpp.go
@ -490,10 +490,8 @@ type clientMessage struct {
|
|||||||
Body string `xml:"body"`
|
Body string `xml:"body"`
|
||||||
Thread string `xml:"thread"`
|
Thread string `xml:"thread"`
|
||||||
|
|
||||||
|
// Any hasn't matched element
|
||||||
Other []string `xml:",any"`
|
Other []string `xml:",any"`
|
||||||
|
|
||||||
// // Any hasn't matched element
|
|
||||||
// Other string `xml:",any"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type clientText struct {
|
type clientText struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user