zouxuan преди 5 години
родител
ревизия
2cbfe88552
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      edu-im/edu-im-server/src/main/java/com/keao/edu/im/service/Impl/RoomServiceImpl.java

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

@@ -280,6 +280,9 @@ public class RoomServiceImpl implements RoomService {
         roomMember.setJoinDt(joinTime);
         roomMember.setHeadUrl(headUrl);
         roomMember.setExamRegistrationId(examRegistrationId);
+        if(examRegistrationId != null){
+            roomMember.setMsidFlag(true);
+        }
         roomMemberDao.save(roomMember);
     }