Merge branch 'master' into bugfix-multi_vcard

This commit is contained in:
Lucas Rosa
2020-11-02 13:20:25 -03:00
committed by GitHub

View File

@@ -205,7 +205,9 @@ exports.LoadUtils = () => {
window.WWebJS.getMessageModel = message => {
const msg = message.serialize();
msg.isStatusV3 = message.isStatusV3;
if (msg.buttons) {
msg.buttons = msg.buttons.serialize();
}
delete msg.pendingAckUpdate;
return msg;
};
@@ -221,6 +223,8 @@ exports.LoadUtils = () => {
res.groupMetadata = chat.groupMetadata.serialize();
}
delete res.msgs;
return res;
};