diff options
author | George Hazan <george.hazan@gmail.com> | 2023-06-01 18:39:26 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-06-01 18:39:26 +0300 |
commit | 117dc56ff0d9a32feb0531c066bcff58a2ec4229 (patch) | |
tree | 2963b7b4e8b7d361bfd2e44cf1c009bf58da882d | |
parent | 4785f5ca202addfb433d83542127526cd07b5c08 (diff) |
fixes #3534 (ICQ: приходит только последнее из оффлайновых сообщений)
-rw-r--r-- | protocols/ICQ-WIM/src/poll.cpp | 3 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/version.h | 2 |
2 files changed, 4 insertions, 1 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);
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 <stdver.h>
|