Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

[TypeScript] The VA/Skill sends duplicated welcome messages using Direct Line Channel #3731

@Batta32

Description

@Batta32

What project is affected?

Virtual Assistant and Skill

What language is this in?

TypeScript

What happens?

Using Direct Line, the Virtual Assistant and Skill receives ConversationUpdate Activity by duplicated, sending the welcome message by duplicated as well.

What are the steps to reproduce this issue?

  1. Deploy a Virtual Assistant or a Skill in TypeScript
  2. Communicate with the deployed Bot using directline.web
  3. See the duplicated welcome messages

What were you expecting to happen?

The bot should send an unique welcome message for the user, not for the bot.

Can you share any logs, error output, etc.?

Duplicated welcome message using Web Direct Line Channel
image

Any screenshots or additional context?

There is a disparity present in the SDK between JS and Dotnet that fixes the issue. See related issue: microsoft/botbuilder-js#3100

Reviewing the TypeScript bots present in BotBuilder-Samples, we noticed that the logic that should be present in the ActivityHandler > dispatchConversationUpdateActivity, is present in the membersAdded event of the bots. See example.

Metadata

Metadata

Labels

ExemptFromDailyDRIReportUse this label to exclude the issue from the DRI report.Type: BugSomething isn't workingstaleThe issue hasn't been updated in a long time and will be automatically closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions