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

[TypeScript][Virtual Assistant & Skill] Fix duplicated messages when communicating through DirectLine #3732

Conversation

matiasroldan6
Copy link
Contributor

Fixes #3731

Purpose

What is the context of this pull request? Why is it being done?
An issue was found where duplicated messages would arrive when contacting the TypeScript V.A. or Skill throught Direct Line. To fix this we implemented a validation taking as a reference the behavior in the sample bots.

Changes

Are there any changes that need to be called out as significant or particularly difficult to grasp? (Include illustrative screenshots for context if applicable.)
We added a validation to the membersAdded method in both the Virtual Assistant and Skill to only deliver the message when it's due to the user.

Tests

Is this covered by existing tests or new ones? If no, why not?
Tests have been adapted and are passing in both the V.A. and Skill
image
image

Feature Plan

Are there any remaining steps or dependencies before this issue can be fully resolved? If so, describe and link to any relevant pull requests or issues.

Checklist

General

  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the appropriate tests
  • I have updated related documentation

@pr-triage pr-triage bot added the PR: draft label Dec 2, 2020
@matiasroldan6 matiasroldan6 marked this pull request as ready for review December 2, 2020 20:59
@lauren-mills lauren-mills merged commit d89a985 into microsoft:master Jun 2, 2021
@Batta32 Batta32 deleted the feature/southworks/typescript/bots-membersadded-parity branch June 2, 2021 18:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TypeScript] The VA/Skill sends duplicated welcome messages using Direct Line Channel
3 participants