Simplified syntax

This commit is contained in:
Thorsten Sommer 2026-01-18 20:31:26 +01:00
parent 9c125d5e34
commit 243319a0db
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -97,10 +97,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
// Use chat thread sent by the user: // Use chat thread sent by the user:
this.ChatThread = deferredContent; this.ChatThread = deferredContent;
this.ChatThread = this.ChatThread with this.ChatThread.IncludeDateTime = true;
{
IncludeDateTime = true,
};
this.Logger.LogInformation($"The chat '{this.ChatThread.ChatId}' with {this.ChatThread.Blocks.Count} messages was deferred and will be rendered now."); this.Logger.LogInformation($"The chat '{this.ChatThread.ChatId}' with {this.ChatThread.Blocks.Count} messages was deferred and will be rendered now.");
await this.ChatThreadChanged.InvokeAsync(this.ChatThread); await this.ChatThreadChanged.InvokeAsync(this.ChatThread);