mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 17:08:44 -06:00
feat: automation chatwoot
This commit is contained in:
parent
8622e1e4ff
commit
fa60b68425
@ -1544,6 +1544,14 @@ export class WAStartupService {
|
|||||||
this.logger.verbose('Sending data to webhook in event SEND_MESSAGE');
|
this.logger.verbose('Sending data to webhook in event SEND_MESSAGE');
|
||||||
await this.sendDataWebhook(Events.SEND_MESSAGE, messageRaw);
|
await this.sendDataWebhook(Events.SEND_MESSAGE, messageRaw);
|
||||||
|
|
||||||
|
// if (this.localChatwoot.enabled) {
|
||||||
|
// this.chatwootService.eventWhatsapp(
|
||||||
|
// Events.SEND_MESSAGE,
|
||||||
|
// { instanceName: this.instance.name },
|
||||||
|
// messageRaw,
|
||||||
|
// );
|
||||||
|
// }
|
||||||
|
|
||||||
this.logger.verbose('Inserting message in database');
|
this.logger.verbose('Inserting message in database');
|
||||||
await this.repository.message.insert(
|
await this.repository.message.insert(
|
||||||
[messageRaw],
|
[messageRaw],
|
||||||
|
Loading…
Reference in New Issue
Block a user