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({