푸시 메시지 - 채널 id 추가

This commit is contained in:
klaus 2023-08-28 17:56:28 +09:00
parent 96c72c4fa0
commit 2ee4c3e9ad
1 changed files with 5 additions and 0 deletions

View File

@ -66,6 +66,11 @@ class SodaFirebaseMessagingService : FirebaseMessagingService() {
intent.putExtra(Constants.EXTRA_AUDIO_CONTENT_ID, audioContentId.toLong())
}
val channelId = messageData["channel_id"]
if (channelId != null) {
intent.putExtra(Constants.EXTRA_USER_ID, channelId.toLong())
}
val pendingIntent =
PendingIntent.getActivity(
this,