fix(core.gbapp): startDialog for web OK now.
This commit is contained in:
parent
94c1235866
commit
6b325ead34
1 changed files with 4 additions and 7 deletions
|
@ -671,19 +671,16 @@ export class GBMinService {
|
||||||
await e.onNewSession(min, step);
|
await e.onNewSession(min, step);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await step.beginDialog('/');
|
||||||
|
|
||||||
|
} else {
|
||||||
const startDialog = min.core.getParam(min.instance, 'Start Dialog', null);
|
const startDialog = min.core.getParam(min.instance, 'Start Dialog', null);
|
||||||
if (startDialog)
|
if (startDialog)
|
||||||
{
|
{
|
||||||
GBLog.info(`Auto start dialog is now being called: ${startDialog}...`);
|
GBLog.info(`Auto start dialog is now being called: ${startDialog}...`);
|
||||||
await GBVMService.callVM(context.activity.text, min, step, this.deployer);
|
await GBVMService.callVM(startDialog.toLowerCase(), min, step, this.deployer);
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
await step.beginDialog('/');
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
|
||||||
GBLog.info(`Member added to conversation: ${member.name}`);
|
GBLog.info(`Member added to conversation: ${member.name}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue