fix(media): reject account-only route conflicts · openclaw/openclaw@908a71a
steipete
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -482,6 +482,17 @@ describe("createMediaGenerationTaskLifecycle", () => {
|
482 | 482 | to: undefined, |
483 | 483 | accountId: "bot-a", |
484 | 484 | }); |
| 485 | + |
| 486 | +const accountOnlyHandle = lifecycle.createTaskRun({ |
| 487 | +sessionKey: "agent:main:telegram:shared", |
| 488 | +requesterOrigin: { accountId: "bot-a" }, |
| 489 | +prompt: "account-only proof image", |
| 490 | +}); |
| 491 | +expect(accountOnlyHandle?.requesterOrigin).toEqual({ |
| 492 | +channel: undefined, |
| 493 | +to: undefined, |
| 494 | +accountId: "bot-a", |
| 495 | +}); |
485 | 496 | }); |
486 | 497 | |
487 | 498 | it("returns the completion wake delivery result", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。