From 7cb4ee9b509be696acb800e3ebc4c3120eefac5c Mon Sep 17 00:00:00 2001 From: kevinicolas22 Date: Thu, 15 Jan 2026 17:00:17 -0300 Subject: [PATCH] Fix Slack thread ID to use message timestamp instead of channel ID - Changed thread assignment in invoke.ts to use props.event.ts for proper threading in Slack channels --- slack/actions/deco-chat/channels/invoke.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack/actions/deco-chat/channels/invoke.ts b/slack/actions/deco-chat/channels/invoke.ts index fbe420f30..3f58460aa 100644 --- a/slack/actions/deco-chat/channels/invoke.ts +++ b/slack/actions/deco-chat/channels/invoke.ts @@ -24,7 +24,7 @@ export default async function invoke( const [joinChannel, channel, thread] = props.event.channel_type === "im" ? [botIdentifier, props.event.channel, props.event.user] - : [props.event.channel, props.event.channel, props.event.channel]; + : [props.event.channel, props.event.channel, props.event.ts]; const linkProps = await ctx.appStorage.getItem( ctx.cb.forTeam(props.event.team, joinChannel),