diff --git a/runtime/dotnet/core/ComposerBot.cs b/runtime/dotnet/core/ComposerBot.cs index caecd82ba5..d0d0032de9 100644 --- a/runtime/dotnet/core/ComposerBot.cs +++ b/runtime/dotnet/core/ComposerBot.cs @@ -47,12 +47,6 @@ public ComposerBot(ConversationState conversationState, UserState userState, Res public override async Task OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken = default(CancellationToken)) { - AdaptiveDialog rootDialog = (AdaptiveDialog)this.dialogManager.RootDialog; - if (turnContext.TurnState.Get(BotAdapter.BotIdentityKey) is ClaimsIdentity claimIdentity && SkillValidation.IsSkillClaim(claimIdentity.Claims)) - { - rootDialog.AutoEndDialog = true; - } - if (this.removeRecipientMention && turnContext?.Activity?.Type == "message") { turnContext.Activity.RemoveRecipientMention();