socdoc -> message 로 변경
This commit is contained in:
parent
98d895f91f
commit
9bc625b7a0
|
@ -56,9 +56,9 @@ class SodaFirebaseMessagingService : FirebaseMessagingService() {
|
||||||
intent.putExtra(Constants.EXTRA_ROOM_ID, roomId.toLong())
|
intent.putExtra(Constants.EXTRA_ROOM_ID, roomId.toLong())
|
||||||
}
|
}
|
||||||
|
|
||||||
val socdocId = messageData["message_id"]
|
val messageId = messageData["message_id"]
|
||||||
if (socdocId != null) {
|
if (messageId != null) {
|
||||||
intent.putExtra(Constants.EXTRA_MESSAGE_ID, socdocId.toLong())
|
intent.putExtra(Constants.EXTRA_MESSAGE_ID, messageId.toLong())
|
||||||
}
|
}
|
||||||
|
|
||||||
val audioContentId = messageData["content_id"]
|
val audioContentId = messageData["content_id"]
|
||||||
|
|
|
@ -180,7 +180,7 @@ class VoiceMessageWriteFragment(
|
||||||
}
|
}
|
||||||
|
|
||||||
fileNameMedia =
|
fileNameMedia =
|
||||||
"${requireActivity().filesDir.path}/socdoc_${System.currentTimeMillis()}.mp3"
|
"${requireActivity().filesDir.path}/voice_message_${System.currentTimeMillis()}.mp3"
|
||||||
|
|
||||||
val fileMedia = File(fileNameMedia)
|
val fileMedia = File(fileNameMedia)
|
||||||
if (!fileMedia.exists()) {
|
if (!fileMedia.exists()) {
|
||||||
|
|
Loading…
Reference in New Issue