mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-29 15:12:20 +00:00
add some methods
This commit is contained in:
parent
f3b36c067e
commit
ae12f93edb
@ -25,4 +25,6 @@
|
||||
### 1.1.2
|
||||
* Optimize connections
|
||||
### 1.1.3
|
||||
* Add some methods
|
||||
* Add some methods
|
||||
### 1.1.4
|
||||
* update set reddot method
|
@ -9,7 +9,7 @@
|
||||
#### 安装
|
||||
```
|
||||
dependencies:
|
||||
wukongimfluttersdk: ^1.1.3
|
||||
wukongimfluttersdk: ^1.1.4
|
||||
```
|
||||
#### 引入
|
||||
```dart
|
||||
|
@ -499,7 +499,7 @@ packages:
|
||||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "1.1.3"
|
||||
version: "1.1.4"
|
||||
x25519:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -196,7 +196,7 @@ class ConversationDB {
|
||||
dynamic map, String channelID, int channelType) async {
|
||||
return await WKDBHelper.shared.getDB().update(
|
||||
WKDBConst.tableConversation, map,
|
||||
where: "channel_id=$channelID and channel_type=$channelType");
|
||||
where: "channel_id='$channelID' and channel_type=$channelType");
|
||||
}
|
||||
|
||||
WKUIConversationMsg getUIMsg(WKConversationMsg conversationMsg) {
|
||||
|
@ -27,7 +27,7 @@ class WKConversationManager {
|
||||
Future<bool> deleteMsg(String channelID, int channelType) async {
|
||||
bool result = await ConversationDB.shared.delete(channelID, channelType);
|
||||
if (result) {
|
||||
setDeleteMsg(channelID, channelType);
|
||||
_setDeleteMsg(channelID, channelType);
|
||||
}
|
||||
|
||||
return result;
|
||||
@ -103,7 +103,7 @@ class WKConversationManager {
|
||||
}
|
||||
}
|
||||
|
||||
setDeleteMsg(String channelID, int channelType) {
|
||||
_setDeleteMsg(String channelID, int channelType) {
|
||||
if (_deleteMsgMap != null) {
|
||||
_deleteMsgMap!.forEach((key, back) {
|
||||
back(channelID, channelType);
|
||||
|
@ -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.1.3
|
||||
version: 1.1.4
|
||||
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
|
||||
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user