Skip to content

Commit

Permalink
[feat] now showParticipant true work
Browse files Browse the repository at this point in the history
setParticipantListDto func
  • Loading branch information
drbug2000 committed Nov 3, 2024
1 parent 52f4414 commit 794090f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public List<GetVoiceRoomList.VoiceRoomInfo> convertVoicRoomInfoList() {
return convertVoicRoomInfoList( null);
}

public void serParticipantListDto(Map<Long,ParticipantListDto> participantListDtoMap){
public void setParticipantListDto(Map<Long,ParticipantListDto> participantListDtoMap){

for(RoomDto roomDto : this.roomDtoList){
roomDto.setParticipantDTOList(participantListDtoMap.get(roomDto.getId()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ public List<GetVoiceRoomList.VoiceRoomInfo> getVoiceRoomInfoListConcurrency(long


Map<Long,ParticipantListDto> roomIdParticipantMap=voiceRoomParticipantService.getParticipantList(roomIdList);


if(showParticipant){
voiceRoomListDto.setParticipantListDto(roomIdParticipantMap);
}

//ToDo Response로 convert
//#1 Active/inActive 분리
Expand Down

0 comments on commit 794090f

Please sign in to comment.