-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
[BUG][WEBJS] - payload._data.self missing in Webhook body #304
Comments
Hi @allburov, any updates on this? It's been a week 😃 |
Actually, no. Basically, the webhook events for all the sent messages are triggered, even if they are from the host device or any of the linked devices. This field used to indicate whether the message was sent from the current device which is logged in (WAHA application in this case) and not from any other device. I used this for integration with our custom messaging systems. Any idea why the field was removed or if there's an alternative to this? |
Yep, looks like whatsapp itself don't accept that and implementing it on app side is the only way to solve it :( The extra options #272 (I thought we could add |
I've left a comment here #272 (comment) "quotedMsg": {
"self": "out"
}, You could check that field and if it's not present - it's likely I haven't tested it with realy "reply" message yet also |
Thanks for the reply @allburov. As a temporary hack, I've made some changes to our messaging systems but we need a permanent solution. |
I meant YOUR application database :D |
@allburov Ok cool, thanks a lot for the help |
Describe the bug
Version
To Reproduce Steps to reproduce the behavior:
payload._data
forself
field in themessage.any
event bodyExpected behavior
The text was updated successfully, but these errors were encountered: