Fix a small bug introduced in lang support.
This commit is contained in:
parent
4df4e9cec2
commit
5cfc61169b
|
|
@ -89,7 +89,7 @@ type Message struct {
|
||||||
|
|
||||||
type MessageBody struct {
|
type MessageBody struct {
|
||||||
Lang string `xml:"xml:lang,attr,omitempty"`
|
Lang string `xml:"xml:lang,attr,omitempty"`
|
||||||
Value string `xml:",innerxml"`
|
Value string `xml:",chardata"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// XMPP <presence/> stanza.
|
// XMPP <presence/> stanza.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue