Skip to content

Commit c296bf4

Browse files
committed
fix: Fixed problem that did not generate qrcode with the chatwoot_conversation_pending option enabled
1 parent 1568554 commit c296bf4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* Adjusted return from queries in mongodb
2626
* Added restart instance when update profile picture
2727
* Correction of chatwoot functioning with admin flows
28+
* Fixed problem that did not generate qrcode with the chatwoot_conversation_pending option enabled
2829

2930
### Integrations
3031

src/whatsapp/services/chatwoot.service.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,6 @@ export class ChatwootService {
249249
inbox_id: inboxId.toString(),
250250
};
251251

252-
if (this.provider.conversation_pending) {
253-
data['status'] = 'pending';
254-
}
255-
256252
const conversation = await client.conversations.create({
257253
accountId: this.provider.account_id,
258254
data,

0 commit comments

Comments
 (0)