mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 04:02:54 -06:00
fix: when you set jpegThumbnail, image not appear on app mobile
This commit is contained in:
parent
427c994993
commit
dc67039b39
@ -2654,9 +2654,6 @@ export class BaileysStartupService extends ChannelStartupService {
|
|||||||
prepareMedia[mediaType].fileName = mediaMessage.fileName;
|
prepareMedia[mediaType].fileName = mediaMessage.fileName;
|
||||||
|
|
||||||
if (mediaMessage.mediatype === 'video') {
|
if (mediaMessage.mediatype === 'video') {
|
||||||
prepareMedia[mediaType].jpegThumbnail = Uint8Array.from(
|
|
||||||
readFileSync(join(process.cwd(), 'public', 'images', 'video-cover.png')),
|
|
||||||
);
|
|
||||||
prepareMedia[mediaType].gifPlayback = false;
|
prepareMedia[mediaType].gifPlayback = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user