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
parent 98acd2312d
commit ae6d61bda9

View File

@@ -269,6 +269,9 @@ exports.LoadUtils = () => {
if (msg.buttons) {
msg.buttons = msg.buttons.serialize();
}
if(msg.replyButtons) {
msg.replyButtons = msg.replyButtons.serialize();
}
delete msg.pendingAckUpdate;