Fixed a rare bug regarding renaming chats (#465)

This commit is contained in:
Thorsten Sommer 2025-05-17 20:35:51 +02:00 committed by GitHub
parent a548cabe24
commit 2e58ecb97d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View File

@ -344,6 +344,13 @@ public partial class Workspaces : MSGComponentBase
return;
chat.Name = (dialogResult.Data as string)!;
if(this.CurrentChatThread?.ChatId == chat.ChatId)
{
this.CurrentChatThread.Name = chat.Name;
await this.CurrentChatThreadChanged.InvokeAsync(this.CurrentChatThread);
await MessageBus.INSTANCE.SendMessage<bool>(this, Event.WORKSPACE_LOADED_CHAT_CHANGED);
}
await this.StoreChat(chat);
await this.LoadTreeItems();
}

View File

@ -2,4 +2,5 @@
- Improved compatibility with certain Ubuntu linux versions regarding desktop integration.
- Improved localization code & German translation.
- Fixed a bug with text fields when their content was read live. This issue caused the user interface to refresh too frequently, resulting in increased energy consumption.
- Fixed an issue that caused live translation to stop working.
- Fixed an issue that caused live translation to stop working.
- Fixed a rare bug that could, under some circumstances, prevent the currently open chat from being renamed.