Skip to content

Commit 9f96c67

Browse files
authored
[core] support CSAT messages in webhook processing
fix(chatwoot): support CSAT messages in webhook processing
2 parents 8fbf7fa + a81f2ab commit 9f96c67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/apps/chatwoot/consumers/inbox/message_created.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class MessageHandler {
8080
async handle(body: any) {
8181
const chatId = await LookupAndCheckChatId(this.session, body);
8282
const message = body;
83-
if (message.content_type != 'text') {
83+
if (message.content_type != 'text' && message.content_type != 'input_csat') {
8484
this.logger.info(
8585
`Message content type not supported. Content type: ${message.content_type}`,
8686
);

0 commit comments

Comments
 (0)