You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to catch the message_revoke_everyone event and found out that the callback function has two messages with the same ID.
Expected behavior
revoked_msg variable should contain the ID of the deleted message.
Steps to Reproduce the Bug or Issue
Subscribe to the message_revoke_everyone event, and delete the message on your device. Check message and revoked variables.
Relevant Code
this.client.on('message_revoke_everyone', async (message, revoked) => {
// these two variables has the same ID
console.log(message.id);
console.log(revoked.id);
});
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Linux
Phone OS: iOS
whatsapp-web.js version: webpack-exodus
WhatsApp Web version: 2.3000.1012737330
Is there an existing issue for this?
Describe the bug
I'm trying to catch the message_revoke_everyone event and found out that the callback function has two messages with the same ID.
Expected behavior
revoked_msg variable should contain the ID of the deleted message.
Steps to Reproduce the Bug or Issue
Subscribe to the message_revoke_everyone event, and delete the message on your device. Check message and revoked variables.
Relevant Code
this.client.on('message_revoke_everyone', async (message, revoked) => {
// these two variables has the same ID
console.log(message.id);
console.log(revoked.id);
});
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Linux
Phone OS: iOS
whatsapp-web.js version: webpack-exodus
WhatsApp Web version: 2.3000.1012737330
Additional context
Related: #1178
The text was updated successfully, but these errors were encountered: