Allow us to hide some messages from the user

This commit is contained in:
tsommer committed 2024-10-27 21:00:18 +01:00
1 parent 64d8a0fd5f
commit 0c19146f05
3 files changed
+12 -3

No files matched your search

+4 -1
View File
@@ -22,7 +22,10 @@
{
foreach (var block in this.chatThread.Blocks.OrderBy(n => n.Time))
{
<ContentBlockComponent Role="@block.Role" Type="@block.ContentType" Time="@block.Time" Content="@block.Content"/>
@if (!block.HideFromUser)
{
<ContentBlockComponent Role="@block.Role" Type="@block.ContentType" Time="@block.Time" Content="@block.Content"/>
}
}
}
</ChildContent>