mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-08-29 02:36:11 -06:00
Update src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
ceb946c3dd
commit
5013e510da
@ -4050,7 +4050,7 @@ export class BaileysStartupService extends ChannelStartupService {
|
|||||||
const authState = this.instance.authState as any;
|
const authState = this.instance.authState as any;
|
||||||
if (authState.store && authState.store.contacts) {
|
if (authState.store && authState.store.contacts) {
|
||||||
// Atualizar contatos no store local
|
// Atualizar contatos no store local
|
||||||
const contacts = authState.store.contacts;
|
const {contacts} = authState.store;
|
||||||
if (contacts[lidJid]) {
|
if (contacts[lidJid]) {
|
||||||
contacts[realJid] = contacts[lidJid];
|
contacts[realJid] = contacts[lidJid];
|
||||||
delete contacts[lidJid];
|
delete contacts[lidJid];
|
||||||
|
Loading…
Reference in New Issue
Block a user