Merge pull request #1226 from Desarrollo-TMS/fix-csat-chatwoot

fix: chatwoot csat creating new conversation in another language
This commit is contained in:
Davidson Gomes
2025-02-11 12:14:50 -03:00
committed by GitHub

View File

@@ -1898,7 +1898,7 @@ export class ChatwootService {
.replaceAll(/~((?!\s)([^\n~]+?)(?<!\s))~/g, '~~$1~~')
: originalMessage;
if (bodyMessage && bodyMessage.includes('Por favor, classifique esta conversa, http')) {
if (bodyMessage && bodyMessage.includes('/survey/responses/') && bodyMessage.includes('http')) {
return;
}