fix: Enable ogg format for audio recording in API channel (#7178)
This commit is contained in:
parent
4807052c37
commit
5618b5ebd3
@ -501,7 +501,7 @@ export default {
|
||||
return `draft-${this.conversationIdByRoute}-${this.replyType}`;
|
||||
},
|
||||
audioRecordFormat() {
|
||||
if (this.isAWhatsAppChannel) {
|
||||
if (this.isAWhatsAppChannel || this.isAPIInbox) {
|
||||
return AUDIO_FORMATS.OGG;
|
||||
}
|
||||
return AUDIO_FORMATS.WAV;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user