fix(core.gbapp): Self-replication on Azure
This commit is contained in:
parent
5f0fb3bc3e
commit
4d484d0a67
1 changed files with 5 additions and 2 deletions
|
@ -377,7 +377,7 @@ export class GBMinService {
|
|||
if (p.getDialogs !== undefined) {
|
||||
const dialogs = p.getDialogs(min);
|
||||
dialogs.forEach(dialog => {
|
||||
min.dialogs.add(new WaterfallDialog(dialog.name, dialog.waterfall));
|
||||
min.dialogs.add(new WaterfallDialog(dialog.id, dialog.waterfall));
|
||||
});
|
||||
}
|
||||
}, this);
|
||||
|
@ -497,6 +497,9 @@ export class GBMinService {
|
|||
min.sandBoxMap[mainMethod].step = step;
|
||||
min.sandBoxMap[mainMethod][mainMethod].bind(min.sandBoxMap[mainMethod]);
|
||||
await min.sandBoxMap[mainMethod][mainMethod]();
|
||||
} else if (context.activity.text.charAt(0) === '/') {
|
||||
await step.beginDialog(context.activity.text);
|
||||
|
||||
} else if (context.activity.text === 'admin') {
|
||||
await step.beginDialog('/admin');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue