fix:Update message save remote extra method

This commit is contained in:
SL 2024-04-26 13:22:59 +08:00
parent 0398d2b015
commit 4787f68b83
4 changed files with 11 additions and 9 deletions

View File

@ -74,3 +74,5 @@
* fix: Add clear all channel red dots method * fix: Add clear all channel red dots method
### 1.3.7 ### 1.3.7
* fix: Add send message can reminder member method * fix: Add send message can reminder member method
### 1.3.7
* fix: Update message save remote extra method

View File

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

View File

@ -638,6 +638,7 @@ class MessageDB {
txn.insert(WKDBConst.tableMessageExtra, insertCVList[0], txn.insert(WKDBConst.tableMessageExtra, insertCVList[0],
conflictAlgorithm: ConflictAlgorithm.replace); conflictAlgorithm: ConflictAlgorithm.replace);
} }
}
if (updateCVList.isNotEmpty) { if (updateCVList.isNotEmpty) {
for (int i = 0; i < updateCVList.length; i++) { for (int i = 0; i < updateCVList.length; i++) {
txn.update(WKDBConst.tableMessageExtra, updateCVList[0], txn.update(WKDBConst.tableMessageExtra, updateCVList[0],
@ -645,7 +646,6 @@ class MessageDB {
whereArgs: [updateCVList[i]['message_id']]); whereArgs: [updateCVList[i]['message_id']]);
} }
} }
}
}); });
} }
return true; return true;

View File

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