fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 916794fc15 - Show all commits

View file

@ -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.
};