Fixed chat id for logging

This commit is contained in:
Thorsten Sommer 2026-01-18 19:28:03 +01:00
parent ace4377c34
commit f497a9e0e7
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -97,7 +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.Logger.LogInformation($"The chat '{this.ChatThread.Name}' 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);
// We know already that the chat thread is not null, // We know already that the chat thread is not null,
@ -202,7 +202,6 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
// Select the correct provider: // Select the correct provider:
await this.SelectProviderWhenLoadingChat(); await this.SelectProviderWhenLoadingChat();
await base.OnInitializedAsync(); await base.OnInitializedAsync();
} }