Skip to content

Commit

Permalink
fix: 채팅방 사용자 세션 리스트 로그 추가
Browse files Browse the repository at this point in the history
- 디버깅을 위해 채팅방 사용자 세션 리스트(activeSessionIds)를 로그로 출력하도록 추가했습니다.

Signed-off-by: Namgyu11 <[email protected]>
  • Loading branch information
Namgyu11 committed Sep 22, 2024
1 parent b267510 commit 5825af1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public List<ChatMessageResponse> getMessages(Long chatRoomId) {
private void sendMessageToNotification(Long chatRoomId, ChatMessageResponse message) {
// 채팅방에 입장한 사용자 세션 리스트 조회
List<Object> activeSessionIds = redisService.getListData(CHAT_ROOM_LIST_KEY_PREFIX + chatRoomId);
log.info("activeSessionIds: {}", activeSessionIds);

// 채팅방 회원 리스트
List<Long> memberIds = chatRoomMemberRepository.findMemberIdsByChatRoomId(chatRoomId);
Expand Down

0 comments on commit 5825af1

Please sign in to comment.