mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-19 20:19:14 +00:00
fix: correctly serialize messages with replyButtons
This commit is contained in:
@@ -269,6 +269,9 @@ exports.LoadUtils = () => {
|
|||||||
if (msg.buttons) {
|
if (msg.buttons) {
|
||||||
msg.buttons = msg.buttons.serialize();
|
msg.buttons = msg.buttons.serialize();
|
||||||
}
|
}
|
||||||
|
if(msg.replyButtons) {
|
||||||
|
msg.replyButtons = msg.replyButtons.serialize();
|
||||||
|
}
|
||||||
|
|
||||||
delete msg.pendingAckUpdate;
|
delete msg.pendingAckUpdate;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user