Closed rbkayz closed 1 month ago
Same issue for me I use two different WA accounts
1 is working fine 2 has no reaction events
I have the same problem
i have the same problem, identified today! any workaround?
None so far. :/
This branch (https://github.com/jrocha/whatsapp-web.js/tree/webpack-exodus-fix-reaction) has message_reaction working on 2.3000.x; Not sure if this breaks 2.2xxx. Will submit a PR as soon as I find way to deal with version check on ExposeStore.
You're a star.
If you don't mind, could you tell us how you debugged it? So I can also contribute in the future.
I broke my head over the CreateOrUpdateReactionsModule
I even tried to use test with another module called WaWebReactionsCollection, but even that obviously didn't work
Any solution for this bug?
This branch (https://github.com/jrocha/whatsapp-web.js/tree/webpack-exodus-fix-reaction) has message_reaction working on 2.3000.x; Not sure if this breaks 2.2xxx. Will submit a PR as soon as I find way to deal with version check on ExposeStore.
This solves the issue
@rbkayz It does not work when I use it, but the update to any branch, right?
Use it on exodus
@rbkayz don't think the issue should be closed yet. I'm still looking for help to make changes compatible with previous versions and make a PR.
You're a star.
If you don't mind, could you tell us how you debugged it? So I can also contribute in the future.
I broke my head over the CreateOrUpdateReactionsModule
I even tried to use test with another module called WaWebReactionsCollection, but even that obviously didn't work
I've searched the source for text "Reaction" and placed some breakpoints around. Sent a reaction and checked the call stack when the break hit.
@rbkayz don't think the issue should be closed yet. I'm still looking for help to make changes compatible with previous versions and make a PR.
Makes sense. Reopened it. Thank you
Fixed in #3099
I'm using message_reaction
to capture the reaction. But it did not return any reaction to me, and my web version is 2.3000.1014177466.
UPDATED: I try using whatsapp web and try send reaction can't it too. This whatsapp web version is 2.3000.1014187303
@N0N4M3BNS do you know if this error is only happening with the new code? do you have detailed repro steps?
@N0N4M3BNS could pls try this new PR. Should fix your issue.
@jrocha Try already, working fine. Thanks
Is there an existing issue for this?
Describe the bug
The message_reaction event is not being emitted by the injected store
Expected behavior
Previously, when you send a reaction on any message, it would emit the message_reaction event with the Reaction model. This has now stopped (in 2.300x) versions
Steps to Reproduce the Bug or Issue
client.on('message_reaction', (reaction) => console.log(reaction))
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Linux Phone OS: Android whatsapp-web.js version: exodus WA Web version: 2.3000.1013775787 Node.js version: 18x
Additional context
No response