From 035320caacdaf2a6ff6fa7e7e7f74a17da6badc9 Mon Sep 17 00:00:00 2001 From: SL Date: Wed, 12 Feb 2025 11:11:10 +0800 Subject: [PATCH] =?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);