fix(chat): attribute shared chat messages to their author, not the viewer (#28274)

This commit is contained in:
G30
2026-08-10 21:40:54 -06:00
committed by GitHub
parent 8edab5020e
commit a3e5d0b362
4 changed files with 29 additions and 3 deletions
@@ -42,6 +42,7 @@
export let models = [];
export let chatId = null;
export let chatUser = null;
export let chatFiles = [];
export let params = {};
@@ -385,6 +386,7 @@
{#if activeTab === 'overview'}
<Overview
{history}
{chatUser}
onNodeClick={(e) => {
const node = e.node;
showMessage(node.data.message, true);
@@ -529,6 +531,7 @@
{#if activeTab === 'overview'}
<Overview
{history}
{chatUser}
onNodeClick={(e) => {
const node = e.node;
if (node?.data?.message?.favorite) {