6.7.0用户端更新:屏蔽空数据

This commit is contained in:
余前卫 2024-06-11 14:23:39 +08:00
parent f82dbccaa5
commit c5de062171

View File

@ -302,7 +302,10 @@ public class SocketRyClient {
if (jsonElement == null) break; if (jsonElement == null) break;
// LogUtils.e("yqw=====>整蛊礼物列表:"+ctString); // LogUtils.e("yqw=====>整蛊礼物列表:"+ctString);
JsonObject jsonObject = jsonElement.getAsJsonObject(); JsonObject jsonObject = jsonElement.getAsJsonObject();
systemChatMessage2(WordUtil.isNewZh() ? jsonObject.get("msg").getAsString() : jsonObject.get("msg_en").getAsString()); String content = WordUtil.isNewZh() ? jsonObject.get("msg").getAsString() : jsonObject.get("msg_en").getAsString();
if (!TextUtils.isEmpty(content)){
systemChatMessage2(content);
}
mListener.onUpdatePrankProgress(ctString); mListener.onUpdatePrankProgress(ctString);
} }
break; break;