라이브 방 생성, 시작
- 크리에이터가 입장 불가능한 라이브의 경우 크리에이터에게는 푸시발송이 되지 않도록 수정
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user