From 5cfc61169b8d932f6306ccc0e10fe0e563ad40b7 Mon Sep 17 00:00:00 2001 From: Chteufleur Date: Mon, 14 Nov 2016 17:43:04 +0100 Subject: [PATCH] Fix a small bug introduced in lang support. --- src/xmpp/stanza.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.