Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive Same Message Two Time #3348

Open
2 tasks done
smedim-barcasoft opened this issue Oct 23, 2024 · 1 comment
Open
2 tasks done

Receive Same Message Two Time #3348

smedim-barcasoft opened this issue Oct 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@smedim-barcasoft
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Is this a problem caused by your code, or is it specifically because of the library?

  • I have double-checked my code carefully.

Describe the bug.

In function:

whatsappClient.on('message', async message => {
        console.log(message.id, message.body);
});

It execut two times;

Expected Behavior

Receive once time

Steps to Reproduce the Bug or Issue

whatsappClient.on('message', async message => {
console.log(message.id, message.body);
});

WhatsApp Account Type

WhatsApp Business

Browser Type

Chromium

Operation System Type

Docker + Ubuntu

Phone OS Type

Android

WhatsApp-Web.js Version

1.26.0

WhatsApp Web Version

2.3000.1017592110

Node.js Version

18

Authentication Strategy

LocalAuth

Additional Context

No response

@smedim-barcasoft smedim-barcasoft added the bug Something isn't working label Oct 23, 2024
@riley-goldenowl
Copy link

I have this issue too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants