zouxuan 5 éve
szülő
commit
4a81111446

+ 1 - 1
edu-im/edu-im-server/src/main/java/com/keao/edu/im/pojo/RoomMember.java

@@ -27,7 +27,7 @@ public class RoomMember {
     private @Getter @Setter boolean musicMode = true;
     private @Getter @Setter boolean mic = true;
     private @Getter @Setter boolean hand = false;
-    private @Getter @Setter boolean msidFlag = false;
+    private @Getter @Setter boolean msidFlag = true;
 
     public RoomMember() {
     }

+ 4 - 4
edu-im/edu-im-server/src/main/java/com/keao/edu/im/service/Impl/RoomServiceImpl.java

@@ -1336,11 +1336,11 @@ public class RoomServiceImpl implements RoomService {
             //资源发生变动
             log.info("资源变动 state: {}",state);
             roomMemberDao.updateMsidFlagByRidAndUid(roomId,userId,state);
-            if(state == null || state == 0 || !msidFlag){
-                if(roomMember.getExamRegistrationId() == null){
+//            if(state == null || state == 0 || !msidFlag){
+//                if(roomMember.getExamRegistrationId() == null){
                     imHelper.configRecord(roomId);
-                }
-            }
+//                }
+//            }
         }
         return true;
     }