summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_console.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-17 21:52:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-17 21:52:53 +0300
commit410ea51a6e4821beb207537c0e4f49d7bf343b93 (patch)
tree991b6f4b122b7811a70e4120297671cde4fc9e8a /protocols/JabberG/src/jabber_console.cpp
parent245cb1682235352cb7b13539fccdd50f8da8ef35 (diff)
fixes #2219 (Jabber: XML console does not send any stanza)
Diffstat (limited to 'protocols/JabberG/src/jabber_console.cpp')
-rw-r--r--protocols/JabberG/src/jabber_console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_console.cpp b/protocols/JabberG/src/jabber_console.cpp
index e11f7dcadf..2ec284e4a3 100644
--- a/protocols/JabberG/src/jabber_console.cpp
+++ b/protocols/JabberG/src/jabber_console.cpp
@@ -447,7 +447,7 @@ public:
TiXmlDocument doc;
if (0 == doc.Parse(T2Utf(textToSend)))
- m_proto->m_ThreadInfo->send(doc.ToElement());
+ m_proto->m_ThreadInfo->send(doc.RootElement());
else {
StringBuf buf = {};
sttAppendBufRaw(&buf, RTF_HEADER);