fix: message 'connection successfully' spamming

This commit is contained in:
jaison-x 2024-01-17 17:50:31 -03:00
parent 793b907fe6
commit f182436673

View File

@ -1985,6 +1985,7 @@ export class ChatwootService {
const msgConnection = `🚀 Connection successfully established!`;
this.logger.verbose('send message to chatwoot');
await this.createBotMessage(instance, msgConnection, 'incoming');
this.waMonitor.waInstances[instance.instanceName].qrCode.count = 0;
}
}
}