Skip to content

Commit c20a3b6

Browse files
committed
fix: no response evolution bot
1 parent a9e4860 commit c20a3b6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* Missing autoCreate chatwoot in instance create
1212
* Fixed bugs in the frontend, on the event screens
1313
* Fixed use chatwoot with evolution channel
14+
* Fix chatwoot reply quote with Cloud API
15+
* Use exchange name from .env on RabbitMQ
1416

1517
# 2.1.0 (2024-08-26 15:33)
1618

src/api/integrations/chatbot/evolutionBot/services/evolutionBot.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ export class EvolutionBotService {
194194

195195
const message = await this.sendMessageToBot(instance, session, bot, remoteJid, pushName, content);
196196

197+
if (!message) return;
198+
197199
await this.sendMessageWhatsApp(instance, remoteJid, session, settings, message);
198200

199201
return;
@@ -299,9 +301,7 @@ export class EvolutionBotService {
299301

300302
const message = await this.sendMessageToBot(instance, session, bot, remoteJid, pushName, content);
301303

302-
if (!message) {
303-
return;
304-
}
304+
if (!message) return;
305305

306306
await this.sendMessageWhatsApp(instance, remoteJid, session, settings, message);
307307

0 commit comments

Comments
 (0)