尝试更新对话的自定义属性和name时,报4114,实在是不知道这个结构该如何才正确,求解答!!!
SDK版本:5.0.26
调用方法:
AVIMConversation conversation = client.getConversation(conversationId);
//conversation.set("attr.customAttrs", jsonObject);
conversation.setName("xxxxxx");
conversation.updateInfoInBackground(new AVIMConversationCallback() {
@Override
public void done(AVIMException e) {
if (e == null) {
} else {
e.printStackTrace();
}
}
});
D/AVStandardWebSocketClient(30866): uplink : cmd: conv
D/AVStandardWebSocketClient(30866): op: update
D/AVStandardWebSocketClient(30866): peerId: "545"
D/AVStandardWebSocketClient(30866): i: -65530
D/AVStandardWebSocketClient(30866): convMessage {
D/AVStandardWebSocketClient(30866): cid: "5da6c5eb7c4cc935c8510d60"
D/AVStandardWebSocketClient(30866): attr {
D/AVStandardWebSocketClient(30866): data: "{conversation.attributes={\"name\":\"yinal&\344\270\215\345\260\206\345\260\261\"}}"
D/AVStandardWebSocketClient(30866): }
D/AVStandardWebSocketClient(30866): }
D/AVStandardWebSocketClient(30866): onClose code=4114, message=UNPARSEABLE_RAW_MSG