-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SIX-264] 채팅방 조회 로직 리팩토링 #115
The head ref may contain hidden characters: "SIX-264/\uCC44\uD305\uBC29_\uC870\uD68C_\uB85C\uC9C1_\uB9AC\uD329\uD1A0\uB9C1"
Conversation
# Conflicts: # onedayhero-api/src/main/resources/static/docs/index.html
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
private List<Long> getReceiverIds( | ||
Long userId, | ||
List<Long> chatRoomIds | ||
) { | ||
return userMissionChatRoomRepository.findByMissionChatRoom_IdIn(chatRoomIds) | ||
.stream() | ||
.filter(userMissionChatRoom -> !userMissionChatRoom.isUserChatRoom(userId)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사소하지만 Predicate의 not을 쓰면 더 직관적일 것 같습니다..!!
🖊️ 1. Changes
🖼️ 2. Screenshot
❗️ 3. Issues
😌 4. To Reviewer
✅ 5. Plans
🙌 6. Checklist