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
commit ba3ccbbc9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
} }
} }
} }