Skip to content

Commit

Permalink
[chore]: remove duplicated waveform generation (#1169)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinikjkkj authored Dec 23, 2024
1 parent f1f49ad commit 31bc8ab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Utils/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,6 @@ export const prepareWAMessageMedia = async(
logger?.debug('processed waveform')
}

if(requiresWaveformProcessing) {
uploadData.waveform = await getAudioWaveform(bodyPath!, logger)
logger?.debug('processed waveform')
}

if(requiresAudioBackground) {
uploadData.backgroundArgb = await assertColor(options.backgroundColor)
logger?.debug('computed backgroundColor audio status')
Expand Down

0 comments on commit 31bc8ab

Please sign in to comment.