canove / whaticket-community

A very simple Ticket System based on WhatsApp messages, that allow multi-users in same WhatsApp account.
MIT License
1.52k stars 776 forks source link

Problem when sending unsupported image files #552

Closed allgood closed 12 months ago

allgood commented 1 year ago

Related to #532 , when sending an unsupported image file with "image/*" mime type, a problem occurs.

I've tried to solve it on whatsapp-web.js but maintainers suggested to force send as document when the image is unsupported.

I'll send a pull request soon that will force send as document if filename is an image but isn't a file with jpeg/png/gif extension.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.