diff --git a/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/RoleDialogModel.cs b/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/RoleDialogModel.cs index da9caecf..e99b187c 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/RoleDialogModel.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/RoleDialogModel.cs @@ -150,10 +150,6 @@ public class RoleDialogModel : ITrackableMessage { text = !string.IsNullOrWhiteSpace(Payload) ? Payload : Content; } - else - { - text = !string.IsNullOrWhiteSpace(Content) ? Content : RichContent?.Message?.Text; - } return text; }