Skip to content

Commit fa60b68

Browse files
committed
feat: automation chatwoot
1 parent 8622e1e commit fa60b68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/whatsapp/services/whatsapp.service.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,14 @@ export class WAStartupService {
15441544
this.logger.verbose('Sending data to webhook in event SEND_MESSAGE');
15451545
await this.sendDataWebhook(Events.SEND_MESSAGE, messageRaw);
15461546

1547+
// if (this.localChatwoot.enabled) {
1548+
// this.chatwootService.eventWhatsapp(
1549+
// Events.SEND_MESSAGE,
1550+
// { instanceName: this.instance.name },
1551+
// messageRaw,
1552+
// );
1553+
// }
1554+
15471555
this.logger.verbose('Inserting message in database');
15481556
await this.repository.message.insert(
15491557
[messageRaw],

0 commit comments

Comments
 (0)