From 77a79d9957854bea8553c5d2cb7932ff187cf34a Mon Sep 17 00:00:00 2001 From: Jicheng Lu Date: Sun, 12 Oct 2025 22:47:11 -0500 Subject: [PATCH] fix role content --- .../Conversations/Models/RoleDialogModel.cs | 4 ---- 1 file changed, 4 deletions(-) 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; }