mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-19 05:21:56 -06:00
chatwoot agent available_name
This commit is contained in:
parent
076f2b492e
commit
a00ad20c08
@ -1028,7 +1028,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?.name;
|
const senderName = body?.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