Skip to content

Commit

Permalink
Merge pull request #92 from soma-baekgu/hotfix/BG-372-no-user-push-no…
Browse files Browse the repository at this point in the history
…tification

[BG-372]: 유저기반 알림에서 앱 푸시 이슈 (1h / 1h)
  • Loading branch information
GGHDMS authored Aug 18, 2024
2 parents 4765d65 + 9872641 commit 75e3b47
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ class RealTimeUserHandlerAdapter(
val realTimeServerSet: Set<RealTimeServer> =
realTimeService.findByIdsToSet(sessions.mapTo(mutableSetOf()) { it.realtimeId })
val successUser =
realTimeServerSet.map {
realTimeHandler.handleUserRealTimeNotification(notification.userId, it, notification)
}
realTimeServerSet
.map {
realTimeHandler.handleUserRealTimeNotification(notification.userId, it, notification)
}.flatten()

if (successUser.isEmpty()) {
applicationEventPublisher.publishEvent(
Expand Down

0 comments on commit 75e3b47

Please sign in to comment.