mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-26 18:38:39 -06:00
Corrigida Nova conversa indesejada no Chatwoot após resolver, quando reopen desativado e Csat ativo
Corrigida Nova conversa indesejada no Chatwoot, após resolver conversa original, Quando CSAT está ativo e reopen desativado,
This commit is contained in:
parent
d8d7debfee
commit
4a86dec98b
@ -1278,8 +1278,8 @@ export class ChatwootService {
|
||||
this.logger.warn('wa instance not found');
|
||||
return null;
|
||||
}
|
||||
|
||||
if (event === 'messages.upsert' || event === 'send.message') {
|
||||
let conversation: any;
|
||||
if (event === 'messages.upsert' || event === 'send.message' && conversation.status !== 'resolved') {
|
||||
this.logger.verbose('event messages.upsert');
|
||||
|
||||
if (body.key.remoteJid === 'status@broadcast') {
|
||||
|
Loading…
Reference in New Issue
Block a user