new(basic.gblib): New AUTO SAVE keyword. #359

This commit is contained in:
Rodrigo Rodriguez 2023-08-08 10:51:11 -03:00
parent 243512e768
commit b943704607

View file

@ -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 {