-
Notifications
You must be signed in to change notification settings - Fork 283
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
fix: adjust adaptiveCard/action handling #3729
Conversation
@@ -133,9 +133,6 @@ export class TeamsActivityHandler extends ActivityHandler { | |||
await this.handleTeamsTabSubmit(context, context.activity.value) | |||
); | |||
|
|||
case 'adaptiveCard/action': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Everything removed in this file and related tests is already covered on new line 138, when the default
of the switch/case calls super.onInvokeActivity()
Pull Request Test Coverage Report for Build 922719961
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mdrichardson was the initial PR that introduced this functionality necessary in the first place? It seems like the handling code already existed.
I don't believe it was necessary, since yes, since it was handled more broadly (ActivityHandler vs TeamsActivityHandler) here |
#minor
Description
Per the OBI,
AdaptiveCardInvokeValue.authentication
should actually be aTokenExchangeInvokeRequest
, which has the same properties asAdaptiveCardAuthentication
, which is now superfluous.In working on this, I also noticed that this PR was actually already covered.
Specific Changes
AdaptiveCardAuthentication
and replace withTokenExchangeInvokeRequest
git revert
until I had already manually removed it.