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