test: spell out setup flow notes · openclaw/openclaw@d79a585
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -273,7 +273,15 @@ describe("resolveChannelSetupSelectionContributions", () => {
|
273 | 273 | expect(primerMeta?.selectionLabel).toBe("bad\\nid"); |
274 | 274 | expect(primerMeta?.blurb).toBe("Blurb\\nline"); |
275 | 275 | expect(note).toHaveBeenCalledWith( |
276 | | -expect.stringContaining("bad\\nid: Blurb\\nline"), |
| 276 | +[ |
| 277 | +"Inbound DM safety defaults to pairing: unknown senders get a pairing code first.", |
| 278 | +"Approve with: openclaw pairing approve <channel> <code>", |
| 279 | +'Open/public DMs require dmPolicy="open" plus allowFrom=["*"].', |
| 280 | +'For multi-user DMs, isolate sessions with: openclaw config set session.dmScope "per-channel-peer" (or "per-account-channel-peer" for multi-account channels).', |
| 281 | +"Docs: https://docs.openclaw.ai/channels/pairing", |
| 282 | +"", |
| 283 | +"bad\\nid: Blurb\\nline", |
| 284 | +].join("\n"), |
277 | 285 | "How channels work", |
278 | 286 | ); |
279 | 287 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。