From 7aed64be3cf6e1b1c9fb37edad8367f623949d3f Mon Sep 17 00:00:00 2001 From: Algorithm5838 <108630393+Algorithm5838@users.noreply.github.com> Date: Fri, 17 Apr 2026 05:19:27 +0300 Subject: [PATCH] fix: chat:outlet update overwritten by stale write-back (#23829) --- src/lib/components/chat/Chat.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 55d88c1f3d..b7a724b675 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -512,6 +512,7 @@ } } history = history; + return; // Patches history.messages directly; skip the trailing write-back. } else if (type === 'chat:message:favorite') { // Update message favorite status message.favorite = data.favorite;