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

Closed
eltociear wants to merge 2540 commits from patch-1 into main
2 changed files with 4 additions and 6 deletions
Showing only changes of commit 7c446699eb - Show all commits

View file

@ -627,7 +627,7 @@ export class GBConversationalService {
} }
// TODO: Update botlib. // TODO: Update botlib.
public async routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise<Boolean> { public async routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise<boolean> {
return false; return false;
} }
public async routeNLP2(step: GBDialogStep, min: GBMinInstance, text: string) { public async routeNLP2(step: GBDialogStep, min: GBMinInstance, text: string) {

View file

@ -894,11 +894,9 @@ export class GBMinService {
// Skips if the bot is talking. // Skips if the bot is talking.
const startDialog = min.core.getParam(min.instance, 'Start Dialog', null); const startDialog = min.core.getParam(min.instance, 'Start Dialog', null);
if (context.activity.type === 'conversationUpdate') if (context.activity.type === 'installationUpdate') {
{ GBLog.info(`Bot installed on Teams.`);
GBLog.info(`Bot installed on Teams.`); } else if (context.activity.type === 'conversationUpdate' &&
}
else if (context.activity.type === 'conversationUpdate' &&
context.activity.membersAdded.length > 0) { context.activity.membersAdded.length > 0) {
// Check if a bot or a human participant is being added to the conversation. // Check if a bot or a human participant is being added to the conversation.