Skip to content

[fix/#512] 초기 채팅방 조회 및 과거 메시지 조회 API에 송신자 탈퇴 여부 필드 추가#514

Merged
Dimo-2562 merged 7 commits intodevelopfrom
fix/#512
Mar 3, 2026
Merged

[fix/#512] 초기 채팅방 조회 및 과거 메시지 조회 API에 송신자 탈퇴 여부 필드 추가#514
Dimo-2562 merged 7 commits intodevelopfrom
fix/#512

Conversation

@Dimo-2562
Copy link
Contributor

❤️ 기능 설명

초기 채팅방 조회 및 과거 메시지 조회 API 응답의 메시지 항목에
탈퇴한 사용자 여부를 나타내는 isSenderWithdrawn 필드를 추가했습니다.

image image image

연결된 issue

연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.

close #512



🩷 Approve 하기 전 확인해주세요!

  • 통합 테스트 중 1개의 성공 시나리오에서는 전체 필드를 검증하면 좋겠습니다.
  • 채팅방에 있던 도중 상대방이 탈퇴할 경우의 시나리오는 instagram DM도 실시간 반영을 하지 않으므로 일단 배제하기로 프론트분과 상의하였습니다.

✅ 체크리스트

  • PR 제목 규칙 잘 지켰는가?
  • 추가/수정사항을 설명하였는가?
  • 테스트 결과 사진을 넣었는가?
  • 이슈넘버를 적었는가?

@Dimo-2562 Dimo-2562 requested review from dbalsk and kanghana1 March 3, 2026 15:36
@Dimo-2562 Dimo-2562 self-assigned this Mar 3, 2026
@Dimo-2562 Dimo-2562 added the 🔧 FIX Fix feature label Mar 3, 2026
Copy link
Contributor

@kanghana1 kanghana1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨슴니다~!

Collections.reverse(recentMessages);
List<ChatCommonDTO.MessageInfo> commonMessages = chatProcessor.processMessages(memberId, recentMessages);
List<ChatMessage> resultMessages = new ArrayList<>(recentMessages);
Collections.reverse(resultMessages);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거는 머하는 메서드예요?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

궁금해서...안써봐서...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그 Collection 중에 순서가 있는 자료형에서 그 순서를 역으로 돌리는? 메서드입니다.

@Dimo-2562 Dimo-2562 merged commit 16418d2 into develop Mar 3, 2026
1 check passed
@Dimo-2562 Dimo-2562 deleted the fix/#512 branch March 3, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔧 FIX Fix feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] 초기 채팅방 조회 및 과거 메시지 조회 API에 송신자 탈퇴 여부 필드 추가

2 participants