From 117dc56ff0d9a32feb0531c066bcff58a2ec4229 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 1 Jun 2023 18:39:26 +0300 Subject: =?UTF-8?q?fixes=20#3534=20(ICQ:=20=D0=BF=D1=80=D0=B8=D1=85=D0=BE?= =?UTF-8?q?=D0=B4=D0=B8=D1=82=20=D1=82=D0=BE=D0=BB=D1=8C=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D0=BD=D0=B5=D0=B5=20=D0=B8?= =?UTF-8?q?=D0=B7=20=D0=BE=D1=84=D1=84=D0=BB=D0=B0=D0=B9=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D1=8B=D1=85=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/ICQ-WIM/src/poll.cpp | 3 +++ protocols/ICQ-WIM/src/version.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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); diff --git a/protocols/ICQ-WIM/src/version.h b/protocols/ICQ-WIM/src/version.h index 0ee16dc2df..13d762b563 100644 --- a/protocols/ICQ-WIM/src/version.h +++ b/protocols/ICQ-WIM/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 96 #define __RELEASE_NUM 3 -#define __BUILD_NUM 2 +#define __BUILD_NUM 3 #include -- cgit v1.2.3