mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-29 23:22:52 +00:00
fix: Upgrade save channel member extra data api
This commit is contained in:
parent
5fc0127108
commit
913c75a4dd
@ -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
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user