fix(whatsapp.gblib): Fix PRIVACY_STORE_MESSAGES param.
This commit is contained in:
parent
99b5b8ba8b
commit
7b802a9485
1 changed files with 8 additions and 8 deletions
|
@ -139,14 +139,14 @@ export class ProfileDialog extends IGBDialog {
|
||||||
step.activeDialog.state.options = step.options;
|
step.activeDialog.state.options = step.options;
|
||||||
const locale = step.context.activity.locale;
|
const locale = step.context.activity.locale;
|
||||||
const from = step.activeDialog.state.options.mobile.replace ('+', '');
|
const from = step.activeDialog.state.options.mobile.replace ('+', '');
|
||||||
if (min.whatsAppDirectLine) {
|
return await step.replaceDialog('/profile_email', step.activeDialog.state.options);
|
||||||
await min.whatsAppDirectLine.sendToDevice(
|
// DISABLED: sif (min.whatsAppDirectLine) {
|
||||||
from,
|
// await min.whatsAppDirectLine.sendToDevice(
|
||||||
`${step.activeDialog.state.options.mobileCode} is your General Bots creation code.`
|
// from,
|
||||||
);
|
// `${step.activeDialog.state.options.mobileCode} is your General Bots creation code.`
|
||||||
} else {
|
// );
|
||||||
GBLogEx.info(min, `WhatsApp not configured. Here is the code: ${step.activeDialog.state.options.mobileCode}.`);
|
// } else {
|
||||||
}
|
// }
|
||||||
|
|
||||||
await step.prompt('textPrompt', Messages[locale].confirm_mobile);
|
await step.prompt('textPrompt', Messages[locale].confirm_mobile);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue