This commit is contained in:
chanbook 2022-08-02 19:36:43 +08:00
parent 8eb6039994
commit a7216abb49
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ public class EventServiceImpl implements EventService {
} }
roomCache.addUser(eventDto.getChannelName(), RoomUserVo.builder() roomCache.addUser(eventDto.getChannelName(), RoomUserVo.builder()
.id(eventDto.getUid()) .id(eventDto.getUid())
.username(user.getUsername())
.nickname(user.getNickname()) .nickname(user.getNickname())
.type(ERoomUserType.broadcaster) .type(ERoomUserType.broadcaster)
.lastClientSeq(eventDto.getClientSeq()) .lastClientSeq(eventDto.getClientSeq())