mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-29 07:02:19 +00:00
fix:修改最近会话获取到的频道扩展数据错误问题
This commit is contained in:
parent
d4825eb0be
commit
035320caac
1
.gitignore
vendored
1
.gitignore
vendored
@ -42,3 +42,4 @@ app.*.map.json
|
||||
/android/app/debug
|
||||
/android/app/profile
|
||||
/android/app/release
|
||||
/android/.gradle/
|
||||
|
@ -32,6 +32,9 @@ class ConversationDB {
|
||||
for (Map<String, Object?> 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user