Issue Description
I'm attempting to automatically reject incoming calls. However, it appears the event is never fired when a call is received, and as a result, the callback function does not execute.
Reproduction Steps
client.on('call', (call) => {
console.log('Call received, rejecting!');
call.reject();
});
Code Sample
User Setup
| WhatsApp |
Type |
| Account Type |
Standard |
| Authentication Strategy |
LocalAuth |
| WhatsApp Web Version |
2.3000.1036621378 |
| whatsapp-web.js Version |
1.34.6 |
| Environment |
Version |
| Browser Type |
Chromium |
| Browser Version |
. |
| Phone OS Version |
. |
| Running OS Version |
. |
| Node.js Version |
. |
Checklist
Issue Description
I'm attempting to automatically reject incoming calls. However, it appears the event is never fired when a call is received, and as a result, the callback function does not execute.
Reproduction Steps
client.on('call', (call) => {
console.log('Call received, rejecting!');
call.reject();
});
Code Sample
User Setup
Checklist