diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java index fd690e02c..b0aa3128c 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveSwLinkMicPkPresenter.java @@ -554,14 +554,18 @@ public class LiveSwLinkMicPkPresenter implements View.OnClickListener { mApplyUrl = u.getAvatar(); mApplyNmae = u.getUserNiceName(); if (by != 1) { + Log.e("ry", "1"+u.getUserNiceName() + "单人收到" + u.getAvatar()); if (mIsApplyDialogShow == false) { if (u.isRandomPk()) { + Log.e("ry", "2"+u.getUserNiceName() + "单人收到" + u.getAvatar()); showPkDialog(u); } else { + Log.e("ry", "3"+u.getUserNiceName() + "单人收到" + u.getAvatar()); showApplyDialog(u); } } } else { + Log.e("ry", "4"+u.getUserNiceName() + "单人收到" + u.getAvatar()); isPK(u); } } @@ -683,6 +687,7 @@ public class LiveSwLinkMicPkPresenter implements View.OnClickListener { } else { if (mPkWaitCount < 0) { if(rtcRoom==null){ + mIsApplyDialogShow = false; return; } rtcRoom.getLocalUser().responseJoinOtherRoom(u.getId(), u.getId(), false, false, "extra", new IRCRTCResultCallback() {