From 532a74f2a80a6cb2f65076069b13e0a4beeba689 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 18 Jan 2024 18:08:41 +0300 Subject: fixes #4107 completely --- protocols/ICQ-WIM/src/server.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'protocols') 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) -- cgit v1.2.3