Skip to content

Commit

Permalink
feat: 응원하기 소켓 알림 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Dec 4, 2024
1 parent 0a3f7a6 commit 9d9e0a8
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,14 @@ class ReactiveGroupUserWebSocketHandler(
fun launchSendEventByCheerUp(uid: Long, groupId: Long, senderUid: Long) {
groupUserByMap[groupId]?.let { groupUsers ->
CoroutineScope(Dispatchers.IO + Job()).launch {
val eventMessage = groupUsers.keys
.toList()
.let { uids -> groupUserWsFacade.generateEventMessage(uid, groupId, uids) }
val eventMessage = groupUsers.keys.toList().let { uids ->
groupUserWsFacade.generateEventMessage(
uid = uid,
groupId = groupId,
uids = uids,
cheerUpSenderUid = senderUid
)
}

groupUsers[uid]?.let { session ->
session
Expand Down

0 comments on commit 9d9e0a8

Please sign in to comment.