fix: correctly serialize messages with replyButtons

This commit is contained in:
Pedro S. Lopez 2021-07-19 22:23:06 -04:00 • committed by GitHub
commit ae6d61bda9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;