diff --git a/CHANGELOG.md b/CHANGELOG.md index ac6d2b06..856581b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ * Adjusted return from queries in mongodb * Added restart instance when update profile picture * Correction of chatwoot functioning with admin flows +* Fixed problem that did not generate qrcode with the chatwoot_conversation_pending option enabled ### Integrations diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index 352b7e0e..26f4d573 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -249,10 +249,6 @@ export class ChatwootService { inbox_id: inboxId.toString(), }; - if (this.provider.conversation_pending) { - data['status'] = 'pending'; - } - const conversation = await client.conversations.create({ accountId: this.provider.account_id, data,