Skip to content

Commit b93ee2e

Browse files
fix: chatwoot csat creating new conversation in another language
1 parent e5137e1 commit b93ee2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,7 @@ export class ChatwootService {
18981898
.replaceAll(/~((?!\s)([^\n~]+?)(?<!\s))~/g, '~~$1~~')
18991899
: originalMessage;
19001900

1901-
if (bodyMessage && bodyMessage.includes('Por favor, classifique esta conversa, http')) {
1901+
if (bodyMessage && bodyMessage.includes('/survey/responses/') && bodyMessage.includes('http')) {
19021902
return;
19031903
}
19041904

0 commit comments

Comments
 (0)