whatsapp-web.js
whatsapp-web.js copied to clipboard
Sending bas64 Media Converts to String on web refresh
Bug description
I'm sending QR Code generated with
const QRCode = require("easyqrcodejs-nodejs");
It sends an image but after refresh or app restart the image on web converts to a long string
Reproduction steps
Send Image
Reload
Expected behavior
Send a qr code image and when reload remain QR Code
Account type [Standard / Business]: Standard Device OS [iOS / Android]: Android WhatsApp Web version [run await client.getWWebVersion()]: 2.2142.12 Library
Browser [Chrome / Chromium]: Chrome NodeJS version (node -v): v14.18.0 npm or yarn version (npm -v): yarn 1.22.15 whatsapp-web.js version: "whatsapp-web.js": "github:pedroslopez/whatsapp-web.js#multidevice" Other
Operating system (the one running node) [Linux / MacOS / Windows]: Linux Operating system version (ex. Windows 10): Ubuntu 21
I can confirm this here too.
- same issue on pdfs.
Hello, I'm having the same issue, do we have any update on this issue? Any workaround?
Has anybody figure out a fix for this yet?
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.
Has anybody figure out a fix for this yet?
There is an error in utils, where every message is sent with the type 'chat', just change to :
type: attOptions.__x_type? attOptions.__x_type : 'chat',
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.