Skip to content

Conversation

@Jeffders
Copy link
Member

@Jeffders Jeffders commented Mar 5, 2020

We are adding a new option for DeliveryMode on the Activity. This property is a string, and the code comment lists all of the possible values. I have updated the code comment to list the new value of 'ephemeral'.

@Jeffders Jeffders requested review from carlosscastro and tomlm March 5, 2020 17:55
if (turnContext.TurnState.Get<ClaimsIdentity>("BotIdentity") is ClaimsIdentity botIdentity && SkillValidation.IsSkillClaim(botIdentity.Claims))
{
cardActionType = ActionTypes.OpenUrl;
if (turnContext.Activity.ChannelId == "emulator")
Copy link
Member

Choose a reason for hiding this comment

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

constant, we already have one

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (turnContext.Activity.ChannelId == "emulator")
if (turnContext.Activity.ChannelId == Channels.Emulator)

@carlosscastro
Copy link
Member

Approved but Jeff will fix the constant and do some merges

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