fix(gbapp\AskDialog): Supress Echo Nothing_else

This commit is contained in:
Matheus C 2023-05-22 22:14:31 -03:00
parent 2069f9dc07
commit 4ee30120b7

View file

@ -107,9 +107,11 @@ export class AskDialog extends IGBDialog {
if (step.options && step.options.firstTime) { if (step.options && step.options.firstTime) {
text = Messages[locale].ask_first_time; text = Messages[locale].ask_first_time;
} }
//cut by Matheus Cavalieri (overnetbh)
//requested by PH
// else if (step.options && step.options.isReturning && !step.context.activity.group) { // else if (step.options && step.options.isReturning && !step.context.activity.group) {
// text = Messages[locale].anything_else; // text = Messages[locale].anything_else;
// } // }
else if (step.context.activity.group || (step.options && step.options.emptyPrompt)) { else if (step.context.activity.group || (step.options && step.options.emptyPrompt)) {
text = ''; text = '';
} else if (user.subjects.length > 0) { } else if (user.subjects.length > 0) {