Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Conversation

@LeeParrishMSFT
Copy link
Contributor

Fixes #1122

Description

Updated SetSpeakMiddleware to set language based on locale of the Activity and not as a parameter during construction of the class.

Specific Changes

Modified constructor to no longer allow the language to be passed as a parameter as this value will now be set based on the locale of the Activity, and if that isn't set it will be set to a default of "en-US".

Testing

Unit tests were modified to reflect the new changes and run with success.

@LeeParrishMSFT LeeParrishMSFT merged commit 7893dbd into main Apr 1, 2021
@LeeParrishMSFT LeeParrishMSFT deleted the lparrish/Issue1122 branch April 1, 2021 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

port: SetSpeakMiddleware - remove lang argument (#5404)

3 participants