We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.10.1
All
Try to deleteMessage with revoke: true on a group.
revoke: true
Message revoked
Only deleting local
I don't know why, the code was changed, to only revoke self messages. If you see the file: https://github.com/wppconnect-team/wa-js/blob/main/src/chat/functions/deleteMessage.ts
you can see this portion of code (line 94):
} else if (revoke && isSentByMe) {
Is checking isSentByMe, so cannot be revoked messages as admin on groups.
isSentByMe
The text was updated successfully, but these errors were encountered:
No branches or pull requests
WA-JS Version
3.10.1
WhatsApp Version
All
Browser Version
All
Operation System
All
Steps to reproduce
Try to deleteMessage with
revoke: true
on a group.What is expected?
Message revoked
What is actually happening?
Only deleting local
Any additional comments?
I don't know why, the code was changed, to only revoke self messages. If you see the file:
https://github.com/wppconnect-team/wa-js/blob/main/src/chat/functions/deleteMessage.ts
you can see this portion of code (line 94):
Is checking
isSentByMe
, so cannot be revoked messages as admin on groups.The text was updated successfully, but these errors were encountered: