sanka-baileyss 2.2.5 → 2.2.6

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.
@@ -318,16 +318,13 @@ const extractGroupMetadata = (result) => {
318
318
  const isLidJid = WABinary_1.isLidUser && WABinary_1.isLidUser(attrs.jid); // Soporte condicional para LID
319
319
 
320
320
  return {
321
- id: attrs.jid,
322
- jid: (0, WABinary_1.isJidUser)(attrs.jid)
323
- ? attrs.jid
324
- : (attrs.phone_number ? (0, WABinary_1.jidNormalizedUser)(attrs.phone_number) : undefined),
325
- lid: typeof WABinary_1.isLidUser === 'function' && (0, WABinary_1.isLidUser)(attrs.jid)
326
- ? attrs.jid
327
- : attrs.lid,
328
- admin: attrs.type || null,
329
- };
330
- });
321
+ id: attrs.jid,
322
+ jid: (0, WABinary_1.isJidUser)(attrs.jid) ? attrs.jid : (0, WABinary_1.jidNormalizedUser)(attrs.phone_number),
323
+ lid: (0, WABinary_1.isLidUser)(attrs.jid) ? attrs.jid : attrs.lid,
324
+ admin: (attrs.type || null)
325
+ };
326
+ });
327
+
331
328
  /*
332
329
  return {
333
330
  id: attrs.jid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanka-baileyss",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "WhatsApp API Modification By Sanka_Vollerei",
5
5
  "keywords": [
6
6
  "Baileys",