Slack: dedupe normalized interaction selections

This commit is contained in:
Colin
2026-02-16 13:08:29 -05:00
committed by Peter Steinberger
parent 6e790303df
commit 7e42408ade
2 changed files with 25 additions and 7 deletions

View File

@@ -211,12 +211,13 @@ describe("registerSlackInteractionEvents", () => {
type: "multi_conversations_select",
action_id: "openclaw:route",
selected_user: "U777",
selected_users: ["U888"],
selected_users: ["U777", "U888"],
selected_channel: "C777",
selected_channels: ["C888"],
selected_channels: ["C777", "C888"],
selected_conversation: "G777",
selected_conversations: ["G888"],
selected_conversations: ["G777", "G888"],
selected_options: [
{ text: { type: "plain_text", text: "Alpha" }, value: "alpha" },
{ text: { type: "plain_text", text: "Alpha" }, value: "alpha" },
{ text: { type: "plain_text", text: "Beta" }, value: "beta" },
],