mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 04:12:23 -06:00
chore(deps): update baileys package to version 7.0.0-rc.5
Some checks failed
Some checks failed
- Bumped baileys dependency version in package.json and package-lock.json to 7.0.0-rc.5 for improved functionality and bug fixes. - Added p-queue and p-timeout packages for enhanced performance and timeout management.
This commit is contained in:
@@ -3371,18 +3371,18 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
}
|
||||
|
||||
const numberJid = numberVerified?.jid || user.jid;
|
||||
const lid =
|
||||
typeof numberVerified?.lid === 'string'
|
||||
? numberVerified.lid
|
||||
: numberJid.includes('@lid')
|
||||
? numberJid.split('@')[1]
|
||||
: undefined;
|
||||
// const lid =
|
||||
// typeof numberVerified?.lid === 'string'
|
||||
// ? numberVerified.lid
|
||||
// : numberJid.includes('@lid')
|
||||
// ? numberJid.split('@')[1]
|
||||
// : undefined;
|
||||
return new OnWhatsAppDto(
|
||||
numberJid,
|
||||
!!numberVerified?.exists,
|
||||
user.number,
|
||||
contacts.find((c) => c.remoteJid === numberJid)?.pushName,
|
||||
lid,
|
||||
// lid,
|
||||
);
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user