Regenerate event bundles after conversation chain integration
This commit is contained in:
+2
-2
@@ -53141,8 +53141,8 @@ function conversationChains(harness2, context) {
|
||||
let result = cache.get(id);
|
||||
if (!result) {
|
||||
result = (async () => {
|
||||
const record = await harness2.commit((tx) => tx.conversation(id), context);
|
||||
const up = record?.owner?.conversationId ?? record?.parent?.conversationId ?? (await harness2.snapshot(Started, id, context))?.by;
|
||||
const record2 = await harness2.commit((tx) => tx.conversation(id), context);
|
||||
const up = record2?.owner?.conversationId ?? record2?.parent?.conversationId ?? (await harness2.snapshot(Started, id, context))?.by;
|
||||
return [String(id), ...up === void 0 ? [] : await chain2(up)];
|
||||
})();
|
||||
cache.set(id, result);
|
||||
|
||||
Reference in New Issue
Block a user