Skip to content

Filter messageReceived notification in adapter by threadId#3056

Merged
AmyL219 merged 5 commits intomainfrom
amyl/adapteFilter
May 16, 2023
Merged

Filter messageReceived notification in adapter by threadId#3056
AmyL219 merged 5 commits intomainfrom
amyl/adapteFilter

Conversation

@AmyL219
Copy link
Copy Markdown
Contributor

@AmyL219 AmyL219 commented May 16, 2023

What

Filter messageReceived notification in adapter by threadId

Why

The composite is specifically designed for single-threaded use. To avoid confusion when a user participates in multiple threads, we filter messageReceived notifications by threadId.

How Tested

Use same token in joining two different threads. Observed if the adapter only emit the event for the message specific to this chat thread

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 16, 2023

Chat bundle size is increased❗.

  • Current size: 9857884
  • Base size: 9857830
  • Diff size: 54

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 16, 2023

CallWithChat bundle size is increased❗.

  • Current size: 10212123
  • Base size: 10212069
  • Diff size: 54

@github-actions
Copy link
Copy Markdown
Contributor

Calling bundle size is not changed.

  • Current size: 9803267
  • Base size: 9803267
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@emlynmac emlynmac self-assigned this May 16, 2023
@AmyL219 AmyL219 merged commit ab0f4f2 into main May 16, 2023
@AmyL219 AmyL219 deleted the amyl/adapteFilter branch May 16, 2023 22:43
@AmyL219
Copy link
Copy Markdown
Contributor Author

AmyL219 commented May 16, 2023

Based on our previous discussion, we're treating this behavior update in the adapter as a bug fix. As this might require Contoso to modify their implementation code, let me know if there are any additional steps to consider during the release. cc @JoshuaLai

@JoshuaLai
Copy link
Copy Markdown
Member

@AmyL219 lets just make a not of it. When we create the release notes for the release branch we will provide a more detailed description if need be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants