fix: Now accepts all chatwoot inbox templates

This commit is contained in:
Davidson Gomes 2023-07-24 13:03:40 -03:00
parent c9b24ff612
commit bcada5d553
2 changed files with 2 additions and 5 deletions

View File

@ -14,6 +14,7 @@
* Fixed problem with fileSha256 appearing when sending a sticker in chatwoot
* Fixed issue where it was not possible to open a conversation when sent at first by me on my cell phone in chatwoot
* Now it only updates the contact name if it is the same as the phone number in chatwoot
* Now accepts all chatwoot inbox templates
### Integrations

View File

@ -1111,11 +1111,7 @@ export class ChatwootService {
}
}
if (
body.message_type === 'template' &&
body.content_type === 'input_csat' &&
body.event === 'message_created'
) {
if (body.message_type === 'template' && body.event === 'message_created') {
this.logger.verbose('check if is csat');
const data: SendTextDto = {