summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/poll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r--protocols/ICQ-WIM/src/poll.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp
index 64cac1e12c..f48be9b2f9 100644
--- a/protocols/ICQ-WIM/src/poll.cpp
+++ b/protocols/ICQ-WIM/src/poll.cpp
@@ -233,6 +233,9 @@ void CIcqProto::ProcessHistData(const JSONNode &ev)
else
debugLogA("Proceeding with empty cache for %d", hContact);
+ for (auto &it : ev["intro"]["messages"])
+ ParseMessage(hContact, lastMsgId, it, false, false);
+
for (auto &it : ev["tail"]["messages"])
ParseMessage(hContact, lastMsgId, it, false, true);