summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-27 17:19:01 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-27 17:19:01 +0300
commit3cc075e8a3bce548b440cf2ecee7030217818f2f (patch)
tree8662cddc17a73b71b4ae888bde6f0ee6e97b1fa3 /protocols
parentba96f36fbf4d6c1b9361b04cbbbc8daf1583c754 (diff)
ICQ: fix for loading history
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index d86c76cfc5..cd024c1a08 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -608,6 +608,7 @@ void CIcqProto::ParseMessage(MCONTACT hContact, __int64 &lastMsgId, const JSONNo
DB::FILE_BLOB blob(pFileInfo, pszShortName, T2Utf(pFileInfo->wszDescr));
if (hOldEvent) {
+ OnReceiveOfflineFile(blob, pFileInfo);
blob.write(dbei);
db_event_edit(hOldEvent, &dbei, true);
}
@@ -635,7 +636,6 @@ void CIcqProto::ParseMessage(MCONTACT hContact, __int64 &lastMsgId, const JSONNo
if (bCreateRead)
dbei.flags |= DBEF_READ;
dbei.cbBlob = (int)mir_strlen(szUtf);
- dbei.pBlob = szUtf.get();
dbei.szId = szMsgId;
if (isChatRoom(hContact))
dbei.szUserId = szSender;