From f182436673929942daca166ad5ef4af4f02eda5e Mon Sep 17 00:00:00 2001 From: jaison-x Date: Wed, 17 Jan 2024 17:50:31 -0300 Subject: [PATCH] fix: message 'connection successfully' spamming --- src/whatsapp/services/chatwoot.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index e418b904..ef70cf63 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -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; } } }