






















@@ -132,7 +132,7 @@ describe("thread-ownership plugin", () => {
132132{
133133content: "hello",
134134replyToId: "1234.5678",
135-to: "channel:C123",
135+to: "channel:c123",
136136},
137137{ channelId: "slack", conversationId: "" },
138138);
@@ -148,7 +148,7 @@ describe("thread-ownership plugin", () => {
148148});
149149150150it("canonicalizes configured ab-test channel allowlists before matching", async () => {
151-api.pluginConfig = { abTestChannels: ["channel:C123"] };
151+api.pluginConfig = { abTestChannels: ["channel:c123"] };
152152register.register(api as unknown as OpenClawPluginApi);
153153vi.mocked(globalThis.fetch).mockResolvedValue(
154154new Response(JSON.stringify({ owner: "test-agent" }), { status: 200 }),
@@ -158,7 +158,7 @@ describe("thread-ownership plugin", () => {
158158{
159159content: "hello",
160160replyToId: "1234.5678",
161-to: "channel:C123",
161+to: "channel:c123",
162162},
163163{ channelId: "slack", conversationId: "" },
164164);
@@ -227,7 +227,7 @@ describe("thread-ownership plugin", () => {
227227{
228228content: "Hey @TestBot help me",
229229threadId: "9999.0002",
230-metadata: { channelId: "channel:C456" },
230+metadata: { channelId: "channel:c456" },
231231},
232232{ channelId: "slack", conversationId: "C456" },
233233);
@@ -250,7 +250,7 @@ describe("thread-ownership plugin", () => {
250250{
251251content: "Hey @TestBot help me",
252252threadId: "9999.0003",
253-metadata: { channelId: "channel:C456" },
253+metadata: { channelId: "channel:c456" },
254254},
255255{ channelId: "slack", conversationId: "" },
256256);
@@ -259,7 +259,7 @@ describe("thread-ownership plugin", () => {
259259{
260260content: "Sure!",
261261replyToId: "9999.0003",
262-to: "C456",
262+to: "c456",
263263},
264264{ channelId: "slack", conversationId: "C456" },
265265);
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。