fix: serialize message id remote when fetching messages

close #825
This commit is contained in:
Pedro Lopez
2021-10-30 00:12:06 -04:00
parent d8217029ba
commit d44a525b02

View File

@@ -330,6 +330,10 @@ exports.LoadUtils = () => {
if(msg.replyButtons) {
msg.replyButtons = JSON.parse(JSON.stringify(msg.replyButtons));
}
if(typeof msg.id.remote === 'object') {
msg.id.remote = msg.id.remote._serialized;
}
delete msg.pendingAckUpdate;