Fixed a rare bug regarding renaming chats (#465)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-05-17 20:35:51 +02:00
1 parent a548cabe24
commit 2e58ecb97d
2 files changed
+9 -1

No files matched your search

@@ -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();
}
@@ -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.