fix: chat:outlet update overwritten by stale write-back (#23829)

This commit is contained in:
Algorithm5838 authored and GitHub committed 2026-04-17 11:19:27 +09:00
1 parent 43e5905c13
commit 7aed64be3c
1 file changed
+1
+1
View File
@@ -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;