diff --git a/extensions/signal/src/message-actions.test.ts b/extensions/signal/src/message-actions.test.ts index fd0621935416..c4763635a8bc 100644 --- a/extensions/signal/src/message-actions.test.ts +++ b/extensions/signal/src/message-actions.test.ts @@ -61,9 +61,11 @@ describe("signalMessageActions", () => { ); }); - it("skips send for plugin dispatch", () => { + it("supports only reactions for plugin dispatch", () => { expect(signalMessageActions.supportsAction?.({ action: "send" })).toBe(false); expect(signalMessageActions.supportsAction?.({ action: "react" })).toBe(true); + expect(signalMessageActions.supportsAction?.({ action: "delete" })).toBe(false); + expect(signalMessageActions.supportsAction?.({ action: "pin" })).toBe(false); }); it("blocks reactions when the action gate is disabled", async () => { diff --git a/extensions/signal/src/message-actions.ts b/extensions/signal/src/message-actions.ts index 0fc52179a25d..6073863346d2 100644 --- a/extensions/signal/src/message-actions.ts +++ b/extensions/signal/src/message-actions.ts @@ -96,7 +96,7 @@ export const signalMessageActions: ChannelMessageActionAdapter = { return { actions: Array.from(actions) }; }, - supportsAction: ({ action }) => action !== "send", + supportsAction: ({ action }) => action === "react", handleAction: async ({ action, params, cfg, accountId, toolContext }) => { if (action === "send") {