From 7bf9fe5d433f7c14063f297634c9b39fdefb9403 Mon Sep 17 00:00:00 2001 From: SL Date: Thu, 6 Jun 2024 11:52:09 +0800 Subject: [PATCH] fix:Update parsing channel member extension data --- CHANGELOG.md | 4 +++- lib/entity/channel_member.dart | 4 +--- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1c0435..8c582ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -85,4 +85,6 @@ ### 1.4.2 * fix: Optimize synchronization channel messages ### 1.4.3 - * fix: Modifying messages sent by oneself will increase the issue of unread quantity \ No newline at end of file + * fix: Modifying messages sent by oneself will increase the issue of unread quantity + ### 1.4.4 + * fix: Update parsing channel member extension data \ No newline at end of file diff --git a/lib/entity/channel_member.dart b/lib/entity/channel_member.dart index ebd25a0..5798e8a 100644 --- a/lib/entity/channel_member.dart +++ b/lib/entity/channel_member.dart @@ -1,5 +1,3 @@ -import 'dart:collection'; - class WKChannelMember { String channelID = ""; //频道类型 @@ -27,7 +25,7 @@ class WKChannelMember { // 机器人0否1是 int robot = 0; //扩展字段 - HashMap extraMap = HashMap(); + dynamic extraMap; // 用户备注 String remark = ""; // 邀请者uid diff --git a/pubspec.yaml b/pubspec.yaml index 7582a40..593d32c 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.4.3 +version: 1.4.4 homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK environment: