瀏覽代碼

加强学生端上麦判断

Pq 2 年之前
父節點
當前提交
9a279b3c89
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      student/src/main/java/com/cooleshow/student/ui/live/LiveRoomActivity.java

+ 3 - 1
student/src/main/java/com/cooleshow/student/ui/live/LiveRoomActivity.java

@@ -1220,7 +1220,9 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
             if (type == LiveRoomMsgConstants.MIC_RESPONSE_AGREE) {
                 //主播同意
                 if (presenter != null) {
-                    presenter.joinMic();
+                    if(isOnApplyMic()){
+                        presenter.joinMic();
+                    }
                 }
                 return;
             }