Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support replace activity with same ID #2825

Merged
merged 5 commits into from
Jan 17, 2020
Merged

Conversation

compulim
Copy link
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

CHANGELOG.md Outdated Show resolved Hide resolved
compulim and others added 2 commits January 18, 2020 01:22
Co-Authored-By: TJ Durnford <tjdford@gmail.com>
@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