Skip to content

Commit e6a72bd

Browse files
Merge pull request #1406 from Faelst/hotfix/issues-1385
fix: when you set jpegThumbnail, image not appear on app mobile
2 parents 341a0d8 + dc67039 commit e6a72bd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2713,9 +2713,6 @@ export class BaileysStartupService extends ChannelStartupService {
27132713
prepareMedia[mediaType].fileName = mediaMessage.fileName;
27142714

27152715
if (mediaMessage.mediatype === 'video') {
2716-
prepareMedia[mediaType].jpegThumbnail = Uint8Array.from(
2717-
readFileSync(join(process.cwd(), 'public', 'images', 'video-cover.png')),
2718-
);
27192716
prepareMedia[mediaType].gifPlayback = false;
27202717
}
27212718

0 commit comments

Comments
 (0)