푸시 메시지 - 채널 id 추가
This commit is contained in:
parent
96c72c4fa0
commit
2ee4c3e9ad
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue