Skip to content

Commit bcada5d

Browse files
committed
fix: Now accepts all chatwoot inbox templates
1 parent c9b24ff commit bcada5d

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* Fixed problem with fileSha256 appearing when sending a sticker in chatwoot
1515
* Fixed issue where it was not possible to open a conversation when sent at first by me on my cell phone in chatwoot
1616
* Now it only updates the contact name if it is the same as the phone number in chatwoot
17+
* Now accepts all chatwoot inbox templates
1718

1819
### Integrations
1920

src/whatsapp/services/chatwoot.service.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,11 +1111,7 @@ export class ChatwootService {
11111111
}
11121112
}
11131113

1114-
if (
1115-
body.message_type === 'template' &&
1116-
body.content_type === 'input_csat' &&
1117-
body.event === 'message_created'
1118-
) {
1114+
if (body.message_type === 'template' && body.event === 'message_created') {
11191115
this.logger.verbose('check if is csat');
11201116

11211117
const data: SendTextDto = {

0 commit comments

Comments
 (0)