mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -06:00
fix: chatwoot csat creating new conversation in another language
This commit is contained in:
parent
e5137e1aac
commit
b93ee2e023
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user