mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-06-01 00:30:14 +00:00
Modification of sending messages containing replies error
This commit is contained in:
parent
b23f6d3a45
commit
4c83ae1697
@ -58,3 +58,5 @@
|
|||||||
* Modify the editing message method parameters
|
* Modify the editing message method parameters
|
||||||
### 1.2.9
|
### 1.2.9
|
||||||
* Modification of sending messages containing replies or tag class message parsing errors
|
* Modification of sending messages containing replies or tag class message parsing errors
|
||||||
|
### 1.3.0
|
||||||
|
* Modification of sending messages containing replies error
|
@ -9,7 +9,7 @@
|
|||||||
#### 安装
|
#### 安装
|
||||||
```
|
```
|
||||||
dependencies:
|
dependencies:
|
||||||
wukongimfluttersdk: ^1.2.9
|
wukongimfluttersdk: ^1.3.0
|
||||||
```
|
```
|
||||||
#### 引入
|
#### 引入
|
||||||
```dart
|
```dart
|
||||||
|
@ -374,6 +374,8 @@ class ChatListDataState extends State<ChatList> {
|
|||||||
reply.rootMid = "111";
|
reply.rootMid = "111";
|
||||||
reply.fromUID = "11";
|
reply.fromUID = "11";
|
||||||
reply.fromName = "12";
|
reply.fromName = "12";
|
||||||
|
WKTextContent payloadText = WKTextContent("dds");
|
||||||
|
reply.payload = payloadText;
|
||||||
text.reply = reply;
|
text.reply = reply;
|
||||||
List<WKMsgEntity> list = [];
|
List<WKMsgEntity> list = [];
|
||||||
WKMsgEntity entity = WKMsgEntity();
|
WKMsgEntity entity = WKMsgEntity();
|
||||||
|
@ -262,9 +262,10 @@ class WKReply {
|
|||||||
messageSeq = WKDBConst.readInt(data, 'message_seq');
|
messageSeq = WKDBConst.readInt(data, 'message_seq');
|
||||||
fromUID = WKDBConst.readString(data, 'from_uid');
|
fromUID = WKDBConst.readString(data, 'from_uid');
|
||||||
fromName = WKDBConst.readString(data, 'from_name');
|
fromName = WKDBConst.readString(data, 'from_name');
|
||||||
String contentJson = WKDBConst.readString(data, 'payload');
|
var json = data['payload'];
|
||||||
if (contentJson != '') {
|
// String contentJson = WKDBConst.readString(data, 'payload');
|
||||||
var json = jsonDecode(contentJson);
|
if (json != null) {
|
||||||
|
// var json = jsonDecode(contentJson);
|
||||||
var type = json['type'];
|
var type = json['type'];
|
||||||
payload = WKIM.shared.messageManager.getMessageModel(type, json);
|
payload = WKIM.shared.messageManager.getMessageModel(type, json);
|
||||||
}
|
}
|
||||||
|
@ -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.2.9
|
version: 1.3.0
|
||||||
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
|
homepage: https://github.com/WuKongIM/WuKongIMFlutterSDK
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user