|
|
|
@ -439,7 +439,11 @@ export class GroupSyncService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const norm = normalizeWhatsAppId(jid);
|
|
|
|
let norm = normalizeWhatsAppId(jid);
|
|
|
|
|
|
|
|
if (!norm) {
|
|
|
|
|
|
|
|
const digits = (jid || '').replace(/\D+/g, '');
|
|
|
|
|
|
|
|
norm = digits || null;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!norm) continue;
|
|
|
|
if (!norm) continue;
|
|
|
|
result.push({ userId: norm, isAdmin });
|
|
|
|
result.push({ userId: norm, isAdmin });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -528,7 +532,11 @@ export class GroupSyncService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const norm = normalizeWhatsAppId(jid);
|
|
|
|
let norm = normalizeWhatsAppId(jid);
|
|
|
|
|
|
|
|
if (!norm) {
|
|
|
|
|
|
|
|
const digits = (jid || '').replace(/\D+/g, '');
|
|
|
|
|
|
|
|
norm = digits || null;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!norm) continue;
|
|
|
|
if (!norm) continue;
|
|
|
|
result.push({ userId: norm, isAdmin });
|
|
|
|
result.push({ userId: norm, isAdmin });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|