|
@@ -486,7 +486,7 @@ public class ImServiceImpl implements ImService {
|
|
|
.type(ImNetworkActionEnum.REJECT.ordinal())
|
|
|
.enable(deviceControl.getEnable())
|
|
|
.targetId(roomMember.getUserId())
|
|
|
- .targetName(roomMember.getUsername())
|
|
|
+ .targetName(roomMember.getUserName())
|
|
|
.sendUserInfo(build);
|
|
|
|
|
|
RTCRoomMessage roomMessage = RTCRoomMessage.builder()
|
|
@@ -503,7 +503,7 @@ public class ImServiceImpl implements ImService {
|
|
|
ImNetworkControlDeviceNotifyMessage msg = new ImNetworkControlDeviceNotifyMessage(ImNetworkActionEnum.REJECT.ordinal());
|
|
|
msg.setType(deviceControl.getDeviceType().ordinal());
|
|
|
msg.setOpUserId(roomMember.getUserId());
|
|
|
- msg.setOpUserName(roomMember.getUsername());
|
|
|
+ msg.setOpUserName(roomMember.getUserName());
|
|
|
imHelper.publishMessage(roomMember.getUserId(),
|
|
|
imGroupService.getImUserId(teacher.getUserId(),ClientEnum.TEACHER), roomMember.getRoomId(), msg);
|
|
|
}
|
|
@@ -512,7 +512,7 @@ public class ImServiceImpl implements ImService {
|
|
|
private RTCRoomMessage.MessageUser getSendUser(ImNetworkRoomMember roomMember) {
|
|
|
RTCRoomMessage.MessageUser build = RTCRoomMessage.MessageUser.builder()
|
|
|
.sendUserId(roomMember.getUserId())
|
|
|
- .sendUserName(roomMember.getUsername())
|
|
|
+ .sendUserName(roomMember.getUserName())
|
|
|
.avatarUrl(roomMember.getAvatar())
|
|
|
.build();
|
|
|
return build;
|