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

port: [#3922] Corrected GetConversationMembers to use TeamsInfo helper class rather… (#5874) #261

Merged

Conversation

mraitersw
Copy link

@mraitersw mraitersw commented Mar 8, 2022

Fixes # 3922
#minor

Description

This PR ports the changes in [BotBuider-DotNet](https://github.com/microsoft/botbuilder-dotnet/pull/ 5874) to Corrected GetConversationMembers in Adaptive.Runtime to use TeamsInfo helper class rather than rely on BotFrameworkAdapter functions that aren't available now that CoreBotAdapter derives from CloudAdapter and not BotFrameworkAdapter.

Specific Changes

  • getActitivityMemebers.ts
    • Remove BotFrameworkAdapter
    • Create a private function, which gets the connector client and returns the accounts info
  • getConversationsMemebers.ts
    • Remove BotFrameworkAdapter
    • Create a private function, which gets the connector client and returns the conversation's members info

Testing

These images show the unit tests passing after the changes.
image
image

@ceciliaavila ceciliaavila changed the title port: [#5873] Remove functions from BotFrameworkAdapter(#5874) port: [#3922] port: Corrected GetConversationMembers to use TeamsInfo helper class rather… (#5874) Mar 9, 2022
@ceciliaavila ceciliaavila changed the title port: [#3922] port: Corrected GetConversationMembers to use TeamsInfo helper class rather… (#5874) port: [#3922] Corrected GetConversationMembers to use TeamsInfo helper class rather… (#5874) Mar 9, 2022
Copy link

@ceciliaavila ceciliaavila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes to match with the project's implementation.

@mraitersw mraitersw merged commit 8cdfa35 into main Mar 9, 2022
@ceciliaavila ceciliaavila deleted the southworks/port/correct-getConversationMembers-to-use-teaminfo branch March 9, 2022 20:35
@ceciliaavila
Copy link

Promoted to MS in PR# 4151

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.

2 participants