diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-28 19:39:02 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-28 19:39:02 +0300 |
commit | 82f2d8a1c1e3b49cf0dc05d1456eac97df639262 (patch) | |
tree | 9a5fbd79a0dec1868ba182016b81fc44a50b03f1 | |
parent | 5c1f4855926c423c241a494896b9b62d43956bff (diff) |
fixes #4443
-rw-r--r-- | protocols/ICQ-WIM/src/poll.cpp | 2 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp index c46a489017..812261fdde 100644 --- a/protocols/ICQ-WIM/src/poll.cpp +++ b/protocols/ICQ-WIM/src/poll.cpp @@ -244,7 +244,7 @@ LBL_SkipPatch: ParseMessage(hContact, lastMsgId, it, 0);
for (auto &it : ev["tail"]["messages"])
- ParseMessage(hContact, lastMsgId, it, PM::CreateRead);
+ ParseMessage(hContact, lastMsgId, it, PM::LocalTime);
setId(hContact, DB_KEY_LASTMSGID, lastMsgId);
if (pUser) {
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index 62f009cc83..1d06a643b0 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -939,7 +939,7 @@ void CIcqProto::OnGetUserHistory(MHttpResponse *pReply, AsyncHttpRequest *pReq) File::GetReceivedFolder(pReq->hContact, wszReceiveFolder, _countof(wszReceiveFolder), true);
CreateDirectoryTreeW(wszReceiveFolder);
- int count = 0, flags = PM::FetchFiles + (pReq->pUserInfo ? PM::LocalTime : 0);
+ int count = 0, flags = PM::FetchFiles + (pReq->pUserInfo ? PM::CreateRead : 0);
auto &results = root.results();
for (auto &it : results["messages"]) {
ParseMessage(pReq->hContact, lastMsgId, it, flags);
|