From cb21d82d29f706c2079feaa759d192966f47fda4 Mon Sep 17 00:00:00 2001 From: Julian Jelfs Date: Wed, 29 Nov 2023 10:42:46 +0000 Subject: [PATCH] correct what seems to be a problem (#4883) --- frontend/openchat-agent/src/services/openchatAgent.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/openchat-agent/src/services/openchatAgent.ts b/frontend/openchat-agent/src/services/openchatAgent.ts index e15f717717..94465a6f29 100644 --- a/frontend/openchat-agent/src/services/openchatAgent.ts +++ b/frontend/openchat-agent/src/services/openchatAgent.ts @@ -1094,9 +1094,7 @@ export class OpenChatAgent extends EventTarget { eventIndex: idx, edited: msg.edited, isThreadRoot: msg.thread !== undefined, - sourceContext: ev.event.repliesTo.sourceContext ?? { - chatId: { ...defaultChatId }, - }, + sourceContext: messageContext, }; } else { this._logger.log(