fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 3aed75731e - Show all commits

View file

@ -67,7 +67,8 @@ export class WelcomeDialog extends IGBDialog {
const user = await min.userProfile.get(step.context, {});
const locale = step.context.activity.locale;
if (!user.once && step.context.activity.channelId === 'webchat') {
if (!user.once && step.context.activity.channelId === 'webchat'
&& min.core.getParam<boolean>(min.instance, 'HelloGoodX', true) === "true") {
user.once = true;
await min.userProfile.set(step.context, user);
const a = new Date();