diff --git a/src/xmpp/stanza.go b/src/xmpp/stanza.go index b26f3f3..e112e6e 100644 --- a/src/xmpp/stanza.go +++ b/src/xmpp/stanza.go @@ -89,7 +89,7 @@ type Message struct { type MessageBody struct { Lang string `xml:"xml:lang,attr,omitempty"` - Value string `xml:",innerxml"` + Value string `xml:",chardata"` } // XMPP stanza.