fix bug of convert msgBody

This commit is contained in:
zhongchao
2021-02-22 11:34:34 +08:00
parent f79858f0df
commit 5142402f03
3 changed files with 5 additions and 5 deletions

View File

@@ -181,7 +181,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) {