diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-05 19:41:13 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-05 19:41:13 +0300 |
commit | 38a15e46bee17fcce51f4d323f6a4759019f2920 (patch) | |
tree | e01468468ead8be2dd10e52e36bd67685b84fbc3 /protocols | |
parent | 26521a465b9b24733459e73676bfa22dca1b5827 (diff) |
fixes #2249 (Inline pictures (XEP-0231) does not work)
Diffstat (limited to 'protocols')
-rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 3 |
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) {
|