소스 검색

加强学生端上麦判断

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;
             }