diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-18 18:08:41 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-18 18:08:41 +0300 |
commit | 532a74f2a80a6cb2f65076069b13e0a4beeba689 (patch) | |
tree | 28b07ddc9703008b37f45acae29ee7e9c72262ef /protocols | |
parent | bac593011ef838e32ecf0fb63ea1f6abd5c2455d (diff) |
fixes #4107 completely
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 9 |
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)
|