fix(core.gbapp): Start dialog now is called with no interruptions.
This commit is contained in:
parent
9b785948cc
commit
f66bbb8fce
1 changed files with 21 additions and 14 deletions
|
@ -1128,6 +1128,11 @@ export class GBMinService {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
const startDialog = user.hearOnDialog ?
|
||||||
|
user.hearOnDialog :
|
||||||
|
min.core.getParam(min.instance, 'Start Dialog', null);
|
||||||
|
|
||||||
|
if (text !== startDialog) {
|
||||||
let nextDialog = null;
|
let nextDialog = null;
|
||||||
await CollectionUtil.asyncForEach(min.appPackages, async (e: IGBPackage) => {
|
await CollectionUtil.asyncForEach(min.appPackages, async (e: IGBPackage) => {
|
||||||
nextDialog = await e.onExchangeData(min, 'handleAnswer', {
|
nextDialog = await e.onExchangeData(min, 'handleAnswer', {
|
||||||
|
@ -1143,6 +1148,8 @@ export class GBMinService {
|
||||||
user: user ? user.dataValues : null,
|
user: user ? user.dataValues : null,
|
||||||
message: message
|
message: message
|
||||||
});
|
});
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue