optimize RoleContent
This commit is contained in:
parent
669639d1a1
commit
d91b0a3f63
|
|
@ -152,7 +152,7 @@ public class RoleDialogModel : ITrackableMessage
|
|||
}
|
||||
else
|
||||
{
|
||||
text = !string.IsNullOrWhiteSpace(RichContent?.Message?.Text) ? RichContent.Message.Text : Content;
|
||||
text = !string.IsNullOrWhiteSpace(Content) ? Content : RichContent?.Message?.Text;
|
||||
}
|
||||
|
||||
return text;
|
||||
|
|
|
|||
Loading…
Reference in a new issue