summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-05 19:41:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-05 19:41:13 +0300
commit38a15e46bee17fcce51f4d323f6a4759019f2920 (patch)
treee01468468ead8be2dd10e52e36bd67685b84fbc3 /protocols
parent26521a465b9b24733459e73676bfa22dca1b5827 (diff)
fixes #2249 (Inline pictures (XEP-0231) does not work)
Diffstat (limited to 'protocols')
-rwxr-xr-xprotocols/JabberG/src/jabber_thread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 52d7a462f6..32eb344178 100755
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1357,13 +1357,14 @@ void CJabberProto::OnProcessMessage(const TiXmlElement *node, ThreadData *info)
}
}
+ szMessage += ExtractImage(node);
+
// all service info was already processed
if (szMessage.IsEmpty()) {
debugLogA("empty message, returning");
return;
}
- szMessage += ExtractImage(node);
szMessage.Replace("\n", "\r\n");
if (item != nullptr) {