fix(ci): stabilize ui paste and telegram types · openclaw/openclaw@ce547bf
steipete
·
2026-05-31
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -68,7 +68,7 @@ class GroupFairQueue {
|
68 | 68 | } |
69 | 69 | |
70 | 70 | private takeNext(): QueuedApiRequest<unknown> | undefined { |
71 | | -for (const ignoredLaneKey of this.laneOrder) { |
| 71 | +for (let remaining = this.laneOrder.length; remaining > 0; remaining -= 1) { |
72 | 72 | this.nextLaneIndex %= this.laneOrder.length; |
73 | 73 | const laneKey = this.laneOrder[this.nextLaneIndex]; |
74 | 74 | const queue = this.lanes.get(laneKey); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -503,7 +503,7 @@ function handlePaste(e: ClipboardEvent, props: ChatProps) {
|
503 | 503 | return; |
504 | 504 | } |
505 | 505 | const imageItems: DataTransferItem[] = []; |
506 | | -for (const item of items) { |
| 506 | +for (const item of Array.from(items)) { |
507 | 507 | if (item.type.startsWith("image/")) { |
508 | 508 | imageItems.push(item); |
509 | 509 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。