Compare commits

...

2 Commits

Author SHA1 Message Date
Renato Alcara 6060293793 fix: jimp detection for thumbnail generation
Fix typeof check: Jimp constructor is 'function' not 'object' in
jimp v1.6+. Without this fix, jpegThumbnail is never generated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 00:41:54 -03:00
Renato Alcara afce764ce9 Revert "fix: carousel renders on WhatsApp Web without F5"
This reverts commit f2c14f9ad6.
2026-03-07 00:41:38 -03:00
-5
View File
@@ -1068,11 +1068,6 @@ export const makeMessagesSocket = (config: SocketConfig) => {
return 'media' return 'media'
} }
// Carousel with images → media type for Web real-time rendering
if (normalizedMessage.interactiveMessage?.carouselMessage) {
return 'media'
}
return 'text' return 'text'
} }