fix(all): End of dialog now OK.
This commit is contained in:
parent
6b1bc00e41
commit
9b785948cc
1 changed files with 1 additions and 7 deletions
|
@ -685,14 +685,8 @@ export class GBVMService extends GBService {
|
||||||
const promise = min.cbMap[id].promise;
|
const promise = min.cbMap[id].promise;
|
||||||
delete min.cbMap[id];
|
delete min.cbMap[id];
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
||||||
// if (step.activeDialog.state.options.previousResolve != undefined) {
|
|
||||||
// step.activeDialog.state.options.previousResolve();
|
|
||||||
// }
|
|
||||||
|
|
||||||
const opts = await promise(step, result);
|
const opts = await promise(step, result);
|
||||||
return await step.replaceDialog('/hear', opts);
|
return await step.endDialog();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
GBLog.error(`Error in BASIC code: ${error}`);
|
GBLog.error(`Error in BASIC code: ${error}`);
|
||||||
const locale = step.context.activity.locale;
|
const locale = step.context.activity.locale;
|
||||||
|
|
Loading…
Add table
Reference in a new issue