Skip to content

Commit 378db74

Browse files
authored
Merge pull request #149 from CommitField/chat81
Fix: ์‚ฌ์šฉ์ž ํ”„๋กœํ•„ dto ์ถ”๊ฐ€
2 parents 08ba261 + 42a26c9 commit 378db74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

โ€Žsrc/main/java/cmf/commitField/domain/chat/chatRoom/service/ChatRoomServiceImpl.javaโ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ public List<ChatRoomDto> searchRoomByTitle(String roomName, Long userId, Pageabl
271271
.heartCount(chatRoom.getHearts().size())
272272
.currentUserCount((long) chatRoom.getUserChatRooms().size())
273273
.userCountMax(chatRoom.getUserCountMax())
274+
.imageUrl(chatRoom.getImageUrl())
274275
.build();
275276
chatRoomDtos.add(build);
276277
}
@@ -335,6 +336,7 @@ public List<ChatRoomDto> getRoomHeartSortList(Pageable pageable) {
335336
.userCountMax(chatRoom.getUserCountMax())
336337
.currentUserCount((long) chatRoom.getUserChatRooms().size())
337338
.heartCount(chatRoom.getHearts().size())
339+
.imageUrl(chatRoom.getImageUrl())
338340
.build();
339341
chatRoomDtos.add(build);
340342
}
@@ -364,6 +366,7 @@ public List<ChatRoomDto> myHeartRoomList(Long userId, Pageable pageable) {
364366
.heartCount(chatRoom.getHearts().size())
365367
.currentUserCount((long) chatRoom.getUserChatRooms().size())
366368
.userCountMax(chatRoom.getUserCountMax())
369+
.imageUrl(chatRoom.getImageUrl())
367370
.build();
368371
chatRoomDtos.add(build);
369372
}

0 commit comments

Comments
ย (0)