mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 15:14:49 -06:00
Merge pull request #1406 from Faelst/hotfix/issues-1385
fix: when you set jpegThumbnail, image not appear on app mobile
This commit is contained in:
commit
e6a72bd829
@ -2713,9 +2713,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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user