fix: Fixed problem that did not generate qrcode with the chatwoot_conversation_pending option enabled

This commit is contained in:
Davidson Gomes 2023-12-12 15:46:10 -03:00
parent 1568554a1c
commit c296bf4178
2 changed files with 1 additions and 4 deletions

View File

@ -25,6 +25,7 @@
* Adjusted return from queries in mongodb * Adjusted return from queries in mongodb
* Added restart instance when update profile picture * Added restart instance when update profile picture
* Correction of chatwoot functioning with admin flows * Correction of chatwoot functioning with admin flows
* Fixed problem that did not generate qrcode with the chatwoot_conversation_pending option enabled
### Integrations ### Integrations

View File

@ -249,10 +249,6 @@ export class ChatwootService {
inbox_id: inboxId.toString(), inbox_id: inboxId.toString(),
}; };
if (this.provider.conversation_pending) {
data['status'] = 'pending';
}
const conversation = await client.conversations.create({ const conversation = await client.conversations.create({
accountId: this.provider.account_id, accountId: this.provider.account_id,
data, data,