fix bug of msgbody convert byte

This commit is contained in:
zhongchao
2021-02-22 11:29:04 +08:00
parent f8baf1282f
commit 74ca0dfe19
3 changed files with 5 additions and 5 deletions

View File

@@ -188,7 +188,7 @@ public class SocketHandler {
}
MsgBody msgBody = new MsgBody();
msgBody.msgType(msgType);
msgBody.content(msg);
msgBody.content(msg.getBytes());
SocketManager.getInstance().sendMsg(mAppId, HEADER_TYPE, msgBody, msgId -> {
for (IMogoCloudOnMsgListener listener : onMsgListenerList) {
if (listener != null) {