mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-25 01:48:39 -06:00
fix: chatwoot service
This commit is contained in:
parent
19fb9fcd31
commit
3ccb983377
@ -1029,7 +1029,7 @@ export class ChatwootService {
|
|||||||
.replaceAll(/(?<!`)`((?!\s)([^`*]+?)(?<!\s))`(?!`)/g, '```$1```') // Substitui ` por ```
|
.replaceAll(/(?<!`)`((?!\s)([^`*]+?)(?<!\s))`(?!`)/g, '```$1```') // Substitui ` por ```
|
||||||
: body.content;
|
: body.content;
|
||||||
|
|
||||||
const senderName = body?.sender?.available_name || body?.sender?.name;
|
const senderName = body?.conversation?.messages[0]?.sender?.available_name || body?.sender?.name;
|
||||||
const waInstance = this.waMonitor.waInstances[instance.instanceName];
|
const waInstance = this.waMonitor.waInstances[instance.instanceName];
|
||||||
|
|
||||||
this.logger.verbose('check if is a message deletion');
|
this.logger.verbose('check if is a message deletion');
|
||||||
|
Loading…
Reference in New Issue
Block a user