fix(channels): preserve keyed progress state updates · openclaw/openclaw@e114001
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1133,8 +1133,7 @@ export function mergeChannelProgressDraftLine<TLine extends string | ChannelProg
|
1133 | 1133 | ); |
1134 | 1134 | if (existingIndex >= 0) { |
1135 | 1135 | const replacement = mergeProgressDraftLineUpdate(lines[existingIndex], line); |
1136 | | -const replacementIdentity = normalizeChannelProgressDraftLineIdentity(replacement); |
1137 | | -if (normalizeChannelProgressDraftLineIdentity(lines[existingIndex]) === replacementIdentity) { |
| 1136 | +if (replacement === lines[existingIndex]) { |
1138 | 1137 | return lines; |
1139 | 1138 | } |
1140 | 1139 | const next = [...lines]; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。