summaryrefslogtreecommitdiff
path: root/protocols/Icq10/src/server.cpp
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-01-04 15:14:34 +0300
committerdartraiden <wowemuh@gmail.com>2019-01-04 15:14:34 +0300
commit560cfb2b62a67f6a0f5486f7e381c6233c9813cf (patch)
tree04304361092ba5db7e80e53d5b9631f813022bac /protocols/Icq10/src/server.cpp
parentfefd2d51b58879308b6a4089eb6baafe1a1e91f0 (diff)
restore code accidentally removed in https://github.com/miranda-ng/miranda-ng/commit/95bd456620d632b1d677b28e59e53eb60a2029d4
Diffstat (limited to 'protocols/Icq10/src/server.cpp')
-rw-r--r--protocols/Icq10/src/server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Icq10/src/server.cpp b/protocols/Icq10/src/server.cpp
index adaabe5f2f..02fbaf8ad4 100644
--- a/protocols/Icq10/src/server.cpp
+++ b/protocols/Icq10/src/server.cpp
@@ -630,6 +630,9 @@ void CIcqProto::ProcessHistData(const JSONNode &ev)
// or load missing messages if any
else if (srvlastId > lastMsgId)
RetrieveUserHistory(hContact, srvlastId, lastMsgId);
+
+ for (auto &it : ev["tail"]["messages"])
+ ParseMessage(hContact, it);
}
void CIcqProto::ProcessMyInfo(const JSONNode &ev)