zouxuan há 5 anos atrás
pai
commit
f92277659a

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