mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-06-03 01:32:49 +00:00
fix: Upgrade save channel member extra data api
This commit is contained in:
parent
5fc0127108
commit
913c75a4dd
@ -96,3 +96,5 @@
|
|||||||
* fix: Upgrade message protocol, add message extension topping function and the ability to send expired messages
|
* fix: Upgrade message protocol, add message extension topping function and the ability to send expired messages
|
||||||
### 1.4.8
|
### 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 'package:sqflite/sqflite.dart';
|
||||||
|
|
||||||
import '../entity/channel_member.dart';
|
import '../entity/channel_member.dart';
|
||||||
@ -150,6 +152,9 @@ class ChannelMemberDB {
|
|||||||
map['forbidden_expiration_time'] = member.forbiddenExpirationTime;
|
map['forbidden_expiration_time'] = member.forbiddenExpirationTime;
|
||||||
map['created_at'] = member.createdAt;
|
map['created_at'] = member.createdAt;
|
||||||
map['updated_at'] = member.updatedAt;
|
map['updated_at'] = member.updatedAt;
|
||||||
|
if (member.extraMap != null) {
|
||||||
|
map['extra'] = jsonEncode(member.extraMap);
|
||||||
|
}
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ description: wukong IM flutter sdk
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# 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
|
# 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.
|
# 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
|
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user