From ae6d61bda92f8606ffa58797fc28dc05b8a521ca Mon Sep 17 00:00:00 2001 From: "Pedro S. Lopez" Date: Mon, 19 Jul 2021 22:23:06 -0400 Subject: [PATCH] fix: correctly serialize messages with replyButtons --- src/util/Injected.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/Injected.js b/src/util/Injected.js index 905b59b..2fb2fcf 100644 --- a/src/util/Injected.js +++ b/src/util/Injected.js @@ -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;