From b94370460738c90a8f1af952a131bf23537052ea Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 8 Aug 2023 10:51:11 -0300 Subject: [PATCH] new(basic.gblib): New AUTO SAVE keyword. #359 --- packages/core.gbapp/services/GBMinService.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/core.gbapp/services/GBMinService.ts b/packages/core.gbapp/services/GBMinService.ts index bb75afb4..43e250a3 100644 --- a/packages/core.gbapp/services/GBMinService.ts +++ b/packages/core.gbapp/services/GBMinService.ts @@ -1292,10 +1292,6 @@ export class GBMinService { async function replyForReceivedAttachments(attachmentData) { if (attachmentData) { - // Because the TurnContext was bound to this function,the bot can call - // `TurnContext.sendActivity` via `this.sendActivity`; - await this.sendActivity(`Upload OK.`); - // In case of not having HEAR activated before, it is // a upload with no Dialog, so run Auto Save to .gbdrive. @@ -1317,6 +1313,9 @@ export class GBMinService { await min.conversationalService.sendText(min, step, `Seu arquivo ${gbfile.name} foi salvo no .gbdrive (${result.category}).` ); + + + return; } } else {