diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 2b0457a6..67534de4 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -473,8 +473,9 @@ export class WhatsappDirectLine extends GBService { const botId = this.min.instance.botId; const state = WhatsappDirectLine.state[botId + from]; if (state) { + GBLog.verbose(`BASIC: Continuing HEAR from WhatsApp...`); WhatsappDirectLine.state[botId + from] = null; - await state.promise(null, message.text); + await state.promise(null, text); return; // Exit here. };