-
Notifications
You must be signed in to change notification settings - Fork 1
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
[DPMBE-125] 인터렉션 발송 시 앱 알람이 꺼져있을때 푸시알림만 안보내도록 한다. #207
Conversation
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.
LGTM!
if (targetUser.fcmNotification.appAlarm) { | ||
fcmService.sendMessageAsync( | ||
targetUser.fcmNotification.fcmToken, | ||
"이모지 투척!", | ||
"from. $user.nickname", | ||
data, | ||
) | ||
} |
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.
이렇게 변수가 많아서 한줄씩 쓸 경우에 named Argument 를 사용하는게 저는 가독성이 더 좋다고 생각해여!
변수가 추가될 경우에 , 특히 순서가 바뀔 경우에도 에러가 안나거든요
https://mparchive.tistory.com/194 참고
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.
좋은 피드백 감사합니다.
- [DPMBE-126] 약속 생성 시 동작하는 트래킹 핸들러 키 불일치문제와 fcm send 버그 해결 #213
해당 이슈에서 처리할게요!!
* fix: RedisMessageListener에 key prefix값 replace 적용 * fix: 앱 알림 허용한 유저가 있을때만 fcm message 보내도록 조건 추가 * fix: PromiseActive시 Redis로 저장되는 Key값 변경 * feat: 인터렉션 발송 시 앱 알람이 꺼져있을때 푸시알림만 안보내도록 한다. (#207) * [DPMBE-123] 트래킹 시작 시 해당 약속에 참여한 사람이 없다면 트래킹을 시작하지 않는다. (#208) * feat: 트래킹 시작 시 해당 약속에 참여한 사람이 없다면 트래킹을 시작하지 않는다. * feat: 트래킹 시작 시 약속 유저가 2명 이하라면 약속을 종료 처리시킨다 * fix: 약속 참여유저 2 미만 이벤트 삭제 시 람다식으로 변경 * [DPMBE-116] 자신의 알림을 조회한다 (#211) * fix: 인터렉션 타입에 Enumerated String을 사용하도록 변경 * feat: 자신의 알림을 조회한다 * fix: Default Argument에서 Named Argument로 변경 * style: 주석제거
개요
작업사항
변경로직