From 20efbab2c0f19489ac7bb731bbfcb2e716c5cd6a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 28 Jun 2019 14:06:37 +0300 Subject: fixes #1991 (ICQ-WIM: last message is added with wrong date/time on the first run) --- protocols/ICQ-WIM/src/poll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/ICQ-WIM/src') diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp index 2c8fead4ea..df5dc4e5a1 100644 --- a/protocols/ICQ-WIM/src/poll.cpp +++ b/protocols/ICQ-WIM/src/poll.cpp @@ -167,7 +167,7 @@ void CIcqProto::ProcessHistData(const JSONNode &ev) } else { for (auto &it : ev["tail"]["messages"]) - ParseMessage(hContact, lastMsgId, it, false); + ParseMessage(hContact, lastMsgId, it, true); setId(hContact, DB_KEY_LASTMSGID, lastMsgId); } -- cgit v1.2.3