diff options
-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)
|