new(basic.gblib): New AUTO SAVE keyword. #359
This commit is contained in:
parent
243512e768
commit
b943704607
1 changed files with 3 additions and 4 deletions
|
@ -1292,10 +1292,6 @@ export class GBMinService {
|
||||||
async function replyForReceivedAttachments(attachmentData) {
|
async function replyForReceivedAttachments(attachmentData) {
|
||||||
if (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
|
// In case of not having HEAR activated before, it is
|
||||||
// a upload with no Dialog, so run Auto Save to .gbdrive.
|
// a upload with no Dialog, so run Auto Save to .gbdrive.
|
||||||
|
|
||||||
|
@ -1317,6 +1313,9 @@ export class GBMinService {
|
||||||
await min.conversationalService.sendText(min, step,
|
await min.conversationalService.sendText(min, step,
|
||||||
`Seu arquivo ${gbfile.name} foi salvo no .gbdrive (${result.category}).`
|
`Seu arquivo ${gbfile.name} foi salvo no .gbdrive (${result.category}).`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue