fix: chatwoot csat creating new conversation in another language

This commit is contained in:
Alexis Hernandez 2025-02-11 08:20:36 -04:00
parent e5137e1aac
commit b93ee2e023

View File

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