修复:多人PK次数已用完再接受PK邀请会闪退问题

This commit is contained in:
zlzw 2022-11-09 13:43:04 +08:00
parent 24f691d4b8
commit 1eee54fef1

View File

@ -1210,7 +1210,10 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
Log.e("ry", "发送失敗");
}
});
if(info.length==0){
ToastUtil.show(msg);
return;
}
JSONObject obj = JSONObject.parseObject(info[0]);
JSONArray users = obj.getJSONArray("userlist");