@periskope/baileys 6.7.18-17-6 → 6.7.18-17-7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -642,11 +642,11 @@ const makeMessagesRecvSocket = (config) => {
642
642
  if (msg) {
643
643
  const fromMe = (0, WABinary_1.areJidsSameUser)(node.attrs.participant || remoteJid, authState.creds.me.id);
644
644
  msg.key = {
645
+ ...(msg.key || {}),
645
646
  remoteJid,
646
647
  fromMe,
647
648
  participant: node.attrs.participant,
648
- id: node.attrs.id,
649
- ...(msg.key || {})
649
+ id: node.attrs.id
650
650
  };
651
651
  (_a = msg.participant) !== null && _a !== void 0 ? _a : (msg.participant = node.attrs.participant);
652
652
  msg.messageTimestamp = +node.attrs.t;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/baileys",
3
- "version": "6.7.18-17-6",
3
+ "version": "6.7.18-17-7",
4
4
  "description": "WhatsApp API",
5
5
  "keywords": [
6
6
  "periskope",