|
@@ -479,7 +479,7 @@ const initMqtt = () => {
|
|
|
console.error(e, "e");
|
|
console.error(e, "e");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- }else{
|
|
|
|
|
|
|
+ }else if(obj.messageType !== 'text'){
|
|
|
obj.content = JSON.parse(obj.content);
|
|
obj.content = JSON.parse(obj.content);
|
|
|
}
|
|
}
|
|
|
obj.receiverId = curUserId;
|
|
obj.receiverId = curUserId;
|