Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
GGHDMS authored Aug 28, 2024
2 parents 140c88e + 75e3b47 commit df8306c
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(listOf(notification.userId), it, notification)
}
realTimeServerSet
.map {
realTimeHandler.handleUserRealTimeNotification(notification.userId, it, notification)
}.flatten()

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

0 comments on commit df8306c

Please sign in to comment.