Issue Description
When updating group description to empty string, always result in timeout. Updating to other string is fine.
Reproduction Steps
- Get a room with Client.getChatById()
- call room.setDescription('')
Code Sample
client.on('ready', async () => {
console.log('READY');
const debugWWebVersion = await client.getWWebVersion();
console.log(`WWebVersion = ${debugWWebVersion}`);
client.pupPage.on('pageerror', function (err) {
console.log('Page error: ' + err.toString());
});
client.pupPage.on('error', function (err) {
console.log('Page error: ' + err.toString());
});
const room = await client.getChatById('xxxxxx@g.us');
const result = await room.setDescription('');
console.log(result);
});
User Setup
| WhatsApp |
Type |
| Account Type |
WhatsApp Business |
| Authentication Strategy |
LocalAuth |
| WhatsApp Web Version |
2.3000.1035325481 |
| whatsapp-web.js Version |
1.34.6 |
| Environment |
Version |
| Browser Type |
Chromium |
| Browser Version |
143.0.7499.169 |
| Phone OS Version |
Android 16 |
| Running OS Version |
macOs Tahoe |
| Node.js Version |
22.5.1 |
Checklist
Issue Description
When updating group description to empty string, always result in timeout. Updating to other string is fine.
Reproduction Steps
Code Sample
User Setup
Checklist