fix 修复测试服ios发消息安卓端收不到问题

This commit is contained in:
zlzw 2023-06-28 16:43:26 +08:00
parent 368b002db6
commit 6a6696f355

View File

@ -825,7 +825,7 @@ public class SocketRyClient {
chatBean.setContentColor(map.getString("contentColor"));//文字内容颜色 chatBean.setContentColor(map.getString("contentColor"));//文字内容颜色
chatBean.setAtUserName(map.getString("atUserName"));//@名字 chatBean.setAtUserName(map.getString("atUserName"));//@名字
chatBean.setAtUserID(map.getString("atUserID"));//@ID chatBean.setAtUserID(map.getString("atUserID"));//@ID
if (!map.getString("guard_type").equals("undefined")) { if (map.containsKey("guard_type")&&!map.getString("guard_type").equals("undefined")) {
chatBean.setGuardType(map.getIntValue("guard_type")); chatBean.setGuardType(map.getIntValue("guard_type"));
} }
try { try {