@jexkcode/baileys 1.3.0 → 1.3.1

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.
@@ -245,7 +245,7 @@ export const decryptMessageNode = (stanza, meId, meLid, repository, logger) => {
245
245
  case 'skmsg':
246
246
  msgBuffer = await repository.decryptGroupMessage({
247
247
  group: sender,
248
- authorJid: author,
248
+ authorJid: decryptionJid,
249
249
  msg: content
250
250
  });
251
251
  break;
@@ -269,7 +269,7 @@ export const decryptMessageNode = (stanza, meId, meLid, repository, logger) => {
269
269
  //eslint-disable-next-line max-depth
270
270
  try {
271
271
  await repository.processSenderKeyDistributionMessage({
272
- authorJid: author,
272
+ authorJid: decryptionJid,
273
273
  item: msg.senderKeyDistributionMessage
274
274
  });
275
275
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jexkcode/baileys",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "JexkCode Baileys - Enhanced WhatsApp Web API with interactive messages, albums, newsletter support, and AIRich responses.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",