Skip to content

Commit 9710fbd

Browse files
committed
remove animated to webp
1 parent 658dae0 commit 9710fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2706,7 +2706,7 @@ export class BaileysStartupService extends ChannelStartupService {
27062706
const isAnimated = this.isAnimated(image, imageBuffer);
27072707

27082708
if (isAnimated) {
2709-
return await sharp(imageBuffer, { animated: true }).webp({ quality: 80, animated: true }).toBuffer();
2709+
return await sharp(imageBuffer, { animated: true }).webp({ quality: 80 }).toBuffer();
27102710
} else {
27112711
return await sharp(imageBuffer).webp().toBuffer();
27122712
}

0 commit comments

Comments
 (0)