From 31bc8ab4e2c825c0d774875701ed07e20d05bdb6 Mon Sep 17 00:00:00 2001 From: vini <91087061+vinikjkkj@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:26:10 -0300 Subject: [PATCH] [chore]: remove duplicated waveform generation (#1169) --- src/Utils/messages.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Utils/messages.ts b/src/Utils/messages.ts index e185f939abe..ae2312296a5 100644 --- a/src/Utils/messages.ts +++ b/src/Utils/messages.ts @@ -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')