10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53210e1 commit b893e89Copy full SHA for b893e89
libraries/botbuilder-core/botbuilder/core/teams/teams_info.py
@@ -107,9 +107,12 @@ async def get_members(turn_context: TurnContext) -> List[TeamsChannelAccount]:
107
async def get_teams_connector_client(
108
turn_context: TurnContext,
109
) -> TeamsConnectorClient:
110
+ # A normal connector client is retrieved in order to use the credentials
111
+ # while creating a TeamsConnectorClient below
112
+ connector_client = await TeamsInfo._get_connector_client(turn_context)
113
+
114
return TeamsConnectorClient(
- turn_context.adapter._credentials, # pylint: disable=protected-access
- turn_context.activity.service_url,
115
+ connector_client.config.credentials, turn_context.activity.service_url,
116
)
117
118
@staticmethod
0 commit comments