From 8b3cb373d40390927c11a00ff11d9b9c9e6da2ba Mon Sep 17 00:00:00 2001 From: Dominic Damoah Date: Thu, 22 Jan 2026 12:11:05 -0500 Subject: [PATCH] fix: remove unused originatingChannel variable Remove unused originatingChannel variable from runPreparedReply function that was assigned but never referenced. --- src/auto-reply/reply/get-reply-run.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/auto-reply/reply/get-reply-run.ts b/src/auto-reply/reply/get-reply-run.ts index 524b6ddaf..28c9e24cb 100644 --- a/src/auto-reply/reply/get-reply-run.ts +++ b/src/auto-reply/reply/get-reply-run.ts @@ -157,8 +157,6 @@ export async function runPreparedReply( const isFirstTurnInSession = isNewSession || !currentSystemSent; const isGroupChat = sessionCtx.ChatType === "group"; - const originatingChannel = - (ctx.OriginatingChannel ?? ctx.Surface ?? ctx.Provider)?.toString().toLowerCase() ?? ""; const wasMentioned = ctx.WasMentioned === true; const isHeartbeat = opts?.isHeartbeat === true; const typingMode = resolveTypingMode({