라이브 방 생성, 시작

- 크리에이터가 입장 불가능한 라이브의 경우 크리에이터에게는 푸시발송이 되지 않도록 수정
This commit is contained in:
2024-05-14 17:13:36 +09:00
parent ae4a790236
commit 39b27b2a17
3 changed files with 20 additions and 1 deletions

View File

@@ -26,7 +26,8 @@ class FcmEvent(
val messageId: Long? = null,
val creatorId: Long? = null,
val commentParentId: Long? = null,
val myMemberId: Long? = null
val myMemberId: Long? = null,
val isAvailableJoinCreator: Boolean? = null
)
@Component
@@ -99,6 +100,7 @@ class FcmSendListener(
val pushTokens = memberRepository.getCreateLiveRoomNotificationRecipientPushTokens(
creatorId = fcmEvent.creatorId!!,
isAuth = fcmEvent.isAuth ?: false,
isAvailableJoinCreator = fcmEvent.isAvailableJoinCreator ?: false,
container = fcmEvent.container
)
@@ -120,6 +122,7 @@ class FcmSendListener(
creatorId = fcmEvent.creatorId!!,
roomId = fcmEvent.roomId!!,
isAuth = fcmEvent.isAuth ?: false,
isAvailableJoinCreator = fcmEvent.isAvailableJoinCreator ?: false,
container = fcmEvent.container
)