From dc67039b398655f9007123326224fa08d5f7ff1b Mon Sep 17 00:00:00 2001 From: Rafael Silverio Date: Tue, 29 Apr 2025 14:54:42 -0300 Subject: [PATCH] fix: when you set jpegThumbnail, image not appear on app mobile --- .../integrations/channel/whatsapp/whatsapp.baileys.service.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts index 10feb7ce..7afa540d 100644 --- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts @@ -2654,9 +2654,6 @@ export class BaileysStartupService extends ChannelStartupService { prepareMedia[mediaType].fileName = mediaMessage.fileName; if (mediaMessage.mediatype === 'video') { - prepareMedia[mediaType].jpegThumbnail = Uint8Array.from( - readFileSync(join(process.cwd(), 'public', 'images', 'video-cover.png')), - ); prepareMedia[mediaType].gifPlayback = false; }