|
@@ -585,7 +585,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
|
|
|
ImNetworkRoom room = baseMapper.findByRoomId(roomId);
|
|
|
String display = "";
|
|
|
if (userRole == UserRoleEnum.TEACHER) {
|
|
|
- display = "display://type=1?userId=" + userId + "?uri=";
|
|
|
+ display = "display://type=0?userId=" + userId + "?uri=";
|
|
|
}
|
|
|
if(Objects.isNull(room)){
|
|
|
room = new ImNetworkRoom();
|
|
@@ -622,7 +622,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
|
|
|
public boolean isUserDisplay(String display, Long userId) {
|
|
|
boolean result = false;
|
|
|
if (!display.isEmpty() && display.contains("userId=" + userId)) {
|
|
|
- if (display.contains("type=0") || display.contains("type=1") || display.contains("type=3")) {
|
|
|
+ if (display.contains("type=0") || display.contains("type=2")) {
|
|
|
result = true;
|
|
|
}
|
|
|
}
|