Merge pull request #369 from jaison-x/pr

fix: message 'connection successfully' spamming
This commit is contained in:
Davidson Gomes
2024-01-18 11:55:07 -03:00
committed by GitHub
@@ -1985,6 +1985,7 @@ export class ChatwootService {
const msgConnection = `🚀 Connection successfully established!`; const msgConnection = `🚀 Connection successfully established!`;
this.logger.verbose('send message to chatwoot'); this.logger.verbose('send message to chatwoot');
await this.createBotMessage(instance, msgConnection, 'incoming'); await this.createBotMessage(instance, msgConnection, 'incoming');
this.waMonitor.waInstances[instance.instanceName].qrCode.count = 0;
} }
} }
} }