mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-01-14 15:53:00 -06:00
fix: fixed issue where CSAT opened a new ticket when reopen_conversation was disabled
This commit is contained in:
@@ -1458,6 +1458,11 @@ export class ChatwootService {
|
||||
this.logger.verbose('get conversation message');
|
||||
const bodyMessage = await this.getConversationMessage(body.message);
|
||||
|
||||
if (bodyMessage.includes('Por favor, classifique esta conversa, http')) {
|
||||
this.logger.verbose('conversation is closed');
|
||||
return;
|
||||
}
|
||||
|
||||
const isMedia = this.isMediaMessage(body.message);
|
||||
|
||||
const adsMessage = this.getAdsMessage(body.message);
|
||||
|
||||
Reference in New Issue
Block a user