Closed nandaaxyz closed 2 years ago
After, upgrading and downgrading again pupeteer to version 17.0.0 back to 13.0.0. It works again.
What I found is, now my web.whatsapp version is on 2.2238.7 not 2.2240.7.
I think the problem is whatsapp-web.js not working on web.whatsapp version 2.2240.7 yet?
Clearing session or clearing pupeteer user-data and login again fixes the issue. It maybe because of whatsapp version change.
Clearing session or clearing pupeteer user-data and login again fixes the issue. It maybe because of whatsapp version change.
I will keep in mind to do that, if the problem occurred again.
As a stopgap I made the following modifications and works for me:
https://github.com/pedroslopez/whatsapp-web.js/issues/1741#issuecomment-1284715884
As a stopgap I made the following modifications and works for me:
Thanks, I have tried it. but what does the modification actually does anyway?
Inside the src/util/Injected.js file
on line 230 add this code
const ephemeralSettings = { ephemeralDuration: undefined, ephemeralSettingTimestamp: undefined, disappearingModeInitiator: undefined, };
on line 370 comment this code
// msg.links = (message.getLinks()).map(link => ({ // link: link.href, // isSuspicious: Boolean(link.suspiciousCharacters && link.suspiciousCharacters.size) // }));
Seems resolved, use the latest versions (1.18.2)
Is there an existing issue for this?
Describe the bug
After getting chromium opening web.whatsapp.com. The chat history doesn't show up. like this image.
also, auto reply chat also doesn't get catch by
This issue is found on v1.18.0-alpha.1 v1.17.1 both whatsapp standard and whatsapp bussinuess account. And there is this button on web.whatsapp.com to update the apps. But it always crash after pressing that button.
Weirdly, if I manually opening web.whatsapp.com on chromium, the chat history actually show up.
Expected behavior
Chat history show up and whatsapp bot can catch every incoming chat.
Steps to Reproduce the Bug or Issue
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS : Windows 10 Phone OS: MIUI 13 whatsapp-web.js version v1.18.0-alpha.1 and v1.17.1 Web-whatsapp version 2.2240.7 Node.js version 18.8.0
Additional context
No response