From 7034d4f8078859631053c32eace2e21fe199dc86 Mon Sep 17 00:00:00 2001 From: Steve Caldwell Date: Mon, 5 Jan 2026 18:10:46 -0500 Subject: [PATCH] fix(slack): preserve thread context in auto-replies When replying to a message in a Slack thread, the response now stays in the thread instead of going to the channel root. Only threads replies when the incoming message was already in a thread (has thread_ts). Top-level messages get top-level replies. Fixes #250 --- src/slack/monitor.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/slack/monitor.ts b/src/slack/monitor.ts index 0ff19cb92..fb8f11cbd 100644 --- a/src/slack/monitor.ts +++ b/src/slack/monitor.ts @@ -738,7 +738,6 @@ export async function monitorSlackProvider(opts: MonitorSlackOpts = {}) { // Only thread replies if the incoming message was in a thread. const incomingThreadTs = message.thread_ts; - const dispatcher = createReplyDispatcher({ responsePrefix: cfg.messages?.responsePrefix, deliver: async (payload) => {