summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/poll.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-27 13:28:26 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-27 13:28:31 +0300
commit6e82820f46d0e9a817ef0419be1547e2441cb22e (patch)
tree76257e9cfd50a026d72fbdc240d86715178a4c2e /protocols/ICQ-WIM/src/poll.cpp
parentc369a5d36d8baf079e5579ceb4178f5d1073ba52 (diff)
fixes #4439 (ICQ: автоскачивание файлов не работает при подгрузке истории с сервера)
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r--protocols/ICQ-WIM/src/poll.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp
index 1a7c72b2f0..c46a489017 100644
--- a/protocols/ICQ-WIM/src/poll.cpp
+++ b/protocols/ICQ-WIM/src/poll.cpp
@@ -241,10 +241,10 @@ LBL_SkipPatch:
debugLogA("Proceeding with empty cache for %d", hContact);
for (auto &it : ev["intro"]["messages"])
- ParseMessage(hContact, lastMsgId, it, false, false);
+ ParseMessage(hContact, lastMsgId, it, 0);
for (auto &it : ev["tail"]["messages"])
- ParseMessage(hContact, lastMsgId, it, false, true);
+ ParseMessage(hContact, lastMsgId, it, PM::CreateRead);
setId(hContact, DB_KEY_LASTMSGID, lastMsgId);
if (pUser) {