Ver código fonte

修改部分直播问题

Pq 2 anos atrás
pai
commit
51505d14bf

+ 1 - 1
student/src/main/java/com/cooleshow/student/adapter/MessageAdapter.java

@@ -274,7 +274,7 @@ public class MessageAdapter extends RecyclerView.Adapter {
                 }
                 if (responseType == LiveRoomMsgConstants.MIC_RESPONSE_DISAGREE) {
                     //主讲人不同意观众上麦申请
-                    responseContentText = "取消了连麦申请";
+                    responseContentText = "拒绝了您的连麦申请";
                 }
                 if (responseType == LiveRoomMsgConstants.MIC_RESPONSE_AGREE_BY_USER) {
                     //观众同意了连麦邀请

+ 3 - 2
teacher/src/main/java/com/cooleshow/teacher/presenter/live/LiveRoomPresenter.java

@@ -416,9 +416,10 @@ public class LiveRoomPresenter extends BasePresenter<LiveRoomContract.LiveRoomVi
             return;
         }
         if (action == LiveRoomMsgConstants.ACTION_SEND_JOIN_ROOM) {
+            //老师端暂时不发送加入房间消息
             //发送加入房间成功消息
-            RCChatJoinRoomMessage rcChatJoinRoomMessage = new RCChatJoinRoomMessage();
-            sendMessage(rcChatJoinRoomMessage, false);
+//            RCChatJoinRoomMessage rcChatJoinRoomMessage = new RCChatJoinRoomMessage();
+//            sendMessage(rcChatJoinRoomMessage, false);
             return;
         }
     }