Skip to content

Commit 606e51b

Browse files
committed
fix: chat:outlet update overwritten by stale write-back
1 parent 5539245 commit 606e51b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/components/chat/Chat.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@
512512
}
513513
}
514514
history = history;
515+
return; // Patches history.messages directly; skip the trailing write-back.
515516
} else if (type === 'chat:message:favorite') {
516517
// Update message favorite status
517518
message.favorite = data.favorite;

0 commit comments

Comments
 (0)