Skip to content

Support replace activity with same ID#2825

Merged
corinagum merged 5 commits intomicrosoft:masterfrom
compulim:fix-2753
Jan 17, 2020
Merged

Support replace activity with same ID#2825
corinagum merged 5 commits intomicrosoft:masterfrom
compulim:fix-2753

Conversation

@compulim
Copy link
Copy Markdown
Contributor

@compulim compulim commented Jan 17, 2020

Fixes #2753.

Changelog Entry

Added

  • Resolves #2753. Support update activity by replacing activity with same ID, by @compulim in PR #2825

Description

When the chat adapter (DirectLineJS) send us an activity with non-empty ID which already exists in Web Chat, we will replace the on-screen activity with the latest version.

Specific Changes

  • Update activities.js reducer to handle duplicate non-empty IDs
    • Existing activity will be replaced

  • Testing Added

Comment thread CHANGELOG.md Outdated
@corinagum corinagum merged commit 482ae66 into microsoft:master Jan 17, 2020
@compulim compulim mentioned this pull request Mar 5, 2020
40 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[IC3] Update message content

3 participants