mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
fix: dont modify id reference when serializing message
This commit is contained in:
@@ -332,7 +332,7 @@ exports.LoadUtils = () => {
|
||||
}
|
||||
|
||||
if(typeof msg.id.remote === 'object') {
|
||||
msg.id.remote = msg.id.remote._serialized;
|
||||
msg.id = Object.assign({}, msg.id, {remote: msg.id.remote._serialized});
|
||||
}
|
||||
|
||||
delete msg.pendingAckUpdate;
|
||||
|
||||
Reference in New Issue
Block a user