summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-18 18:08:41 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-18 18:08:41 +0300
commit532a74f2a80a6cb2f65076069b13e0a4beeba689 (patch)
tree28b07ddc9703008b37f45acae29ee7e9c72262ef /protocols
parentbac593011ef838e32ecf0fb63ea1f6abd5c2455d (diff)
fixes #4107 completely
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/server.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index b41d88dbfd..f67596ea6f 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -557,9 +557,16 @@ void CIcqProto::ParseMessage(MCONTACT hContact, __int64 &lastMsgId, const JSONNo
}
}
- if (pQuote)
+ if (pQuote) {
szReply = pQuote->at("msgId").as_mstring();
+ if (!pFileInfo) {
+ ParseMessagePart(hContact, *pQuote, hOldEvent, pFileInfo);
+ if (pFileInfo)
+ pFileInfo->wszDescr = wszText;
+ }
+ }
+
// message text might be a separate file link as well
if (pFileInfo == nullptr && fileText2url(wszText)) {
if (hOldEvent)