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
commit b51526aff3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}