fix(basic.gblib): Fix in not translating hear.

This commit is contained in:
Rodrigo Rodriguez 2021-06-01 08:34:23 -03:00
parent 5fda86d1fd
commit 66d33cbe39
2 changed files with 1 additions and 3 deletions

View file

@ -512,7 +512,7 @@ export class GBVMService extends GBService {
return utterance.toLowerCase().match(Messages[locale].affirmative_sentences);
}
let result = step.result;
let result = step.context.activity['originalText'];
if (step.activeDialog.state.options['kind'] === "boolean") {
if (isIntentYes('pt-BR', step.result)) {
result = true;

View file

@ -855,8 +855,6 @@ export class GBMinService {
GBLog.info(`Auto start (3) dialog is now being called: ${startDialog} for ${min.instance.instanceId}...`);
await GBVMService.callVM(startDialog.toLowerCase(), min, step, this.deployer);
}
}
} else if (context.activity.type === 'message') {