fix: 투표 취소 후 채팅 메시지 senderVoteOption null 반환#222
Conversation
Resolve chat message senderVoteOption from current participation only. Users who canceled their vote no longer expose A/B on past messages.
|
Warning Review limit reached
More reviews will be available in 35 minutes and 16 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
투표 참여를 취소한 사용자의 기존 채팅 메시지에서
senderVoteOption이 더 이상A/B로 내려가지 않고 null로 반환됩니다.Changes
VoteQueryUseCase.findSelectedOptionCode()추가 — 현재 참여 상태가 없으면 emptyChatService메시지 조회/전송,ChatMessageEventListenerWebSocket 브로드캐스트에서 위 API 사용Test plan
ChatServiceTest,ChatMessageEventListenerTest통과senderVoteOption: null확인