fix: Upgrade save channel member extra data api

This commit is contained in:
SL 2024-07-12 21:17:55 +08:00
parent 5fc0127108
commit 913c75a4dd
3 changed files with 9 additions and 2 deletions

View File

@ -95,4 +95,6 @@
### 1.4.7
* fix: Upgrade message protocol, add message extension topping function and the ability to send expired messages
### 1.4.8
* fix: Upgrade send message api
* fix: Upgrade send message api
### 1.4.9
* fix: Upgrade save channel member extra data api

View File

@ -1,3 +1,5 @@
import 'dart:convert';
import 'package:sqflite/sqflite.dart';
import '../entity/channel_member.dart';
@ -150,6 +152,9 @@ class ChannelMemberDB {
map['forbidden_expiration_time'] = member.forbiddenExpirationTime;
map['created_at'] = member.createdAt;
map['updated_at'] = member.updatedAt;
if (member.extraMap != null) {
map['extra'] = jsonEncode(member.extraMap);
}
return map;
}
}

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.4.8
version: 1.4.9
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
environment: