Fix a small bug introduced in lang support.

This commit is contained in:
Chteufleur 2016-11-14 17:43:04 +01:00
parent 4df4e9cec2
commit 5cfc61169b
1 changed files with 1 additions and 1 deletions

View File

@ -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.