update query channel member avatar

This commit is contained in:
SL 2024-02-05 15:19:14 +08:00
parent ed59348e25
commit 18396b08c8
4 changed files with 9 additions and 4 deletions

View File

@ -51,4 +51,6 @@
### 1.2.5
* Modifying the issue of disconnected sockets not being destroyed
### 1.2.6
* update query message extra data
* update query message extra data
### 1.2.7
* update query channel member avatar

View File

@ -9,7 +9,7 @@
#### 安装
```
dependencies:
wukongimfluttersdk: ^1.2.6
wukongimfluttersdk: ^1.2.7
```
#### 引入
```dart

View File

@ -194,7 +194,10 @@ class WKDBConst {
member.memberName = channelName;
}
member.remark = readString(data, 'channel_remark');
member.memberAvatar = readString(data, 'avatar');
String channelAvatar = readString(data, 'avatar');
if (channelAvatar != '') {
member.memberAvatar = channelAvatar;
}
String avatarCache = readString(data, 'avatar_cache_key');
if (avatarCache != '') {
member.memberAvatarCacheKey = avatarCache;

View File

@ -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.2.6
version: 1.2.7
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
environment: