Merge branch 'master' into bugfix-multi_vcard
This commit is contained in:
commit
2abe4a157d
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue