From 035320caacdaf2a6ff6fa7e7e7f74a17da6badc9 Mon Sep 17 00:00:00 2001 From: SL Date: Wed, 12 Feb 2025 11:11:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=9C=80=E8=BF=91?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E8=8E=B7=E5=8F=96=E5=88=B0=E7=9A=84=E9=A2=91?= =?UTF-8?q?=E9=81=93=E6=89=A9=E5=B1=95=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + lib/db/conversation.dart | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 24476c5..ca2c970 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ app.*.map.json /android/app/debug /android/app/profile /android/app/release +/android/.gradle/ diff --git a/lib/db/conversation.dart b/lib/db/conversation.dart index 4bacd32..9098794 100644 --- a/lib/db/conversation.dart +++ b/lib/db/conversation.dart @@ -32,6 +32,9 @@ class ConversationDB { for (Map data in results) { WKConversationMsg msg = WKDBConst.serializeCoversation(data); WKChannel wkChannel = WKDBConst.serializeChannel(data); + wkChannel.remoteExtraMap = + WKDBConst.readDynamic(data, 'channel_remote_extra'); + wkChannel.localExtra = WKDBConst.readDynamic(data, 'channel_extra'); WKUIConversationMsg uiMsg = getUIMsg(msg); uiMsg.setWkChannel(wkChannel); list.add(uiMsg); From cbd0cbbdff2be35f46e48c13c4ed7ef88d4542e9 Mon Sep 17 00:00:00 2001 From: SL Date: Wed, 12 Feb 2025 11:13:29 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=9C=80=E8=BF=91?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E8=8E=B7=E5=8F=96=E5=88=B0=E7=9A=84=E9=A2=91?= =?UTF-8?q?=E9=81=93=E6=89=A9=E5=B1=95=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 +++- pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30c362d..6376237 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -117,4 +117,6 @@ ### 1.5.8 * fix: Add query total unread quantity and query followed channels ### 1.5.9 - * fix: Modify network monitoring \ No newline at end of file + * fix: Modify network monitoring + ### 1.6.0 + * fix: Error in modifying the channel extension data synchronized to the most recent session \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index aa7a8b3..0becb66 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ description: wukong IM flutter sdk # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.5.9 +version: 1.6.0 homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK environment: