From 424b7fe4938a0446733f09f163818b94a81974b2 Mon Sep 17 00:00:00 2001 From: Jake Date: Mon, 5 Jan 2026 08:36:44 +1300 Subject: [PATCH] fix: prevent typing indicator during heartbeat background tasks --- src/auto-reply/reply.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auto-reply/reply.ts b/src/auto-reply/reply.ts index 366066e59..4fa756a26 100644 --- a/src/auto-reply/reply.ts +++ b/src/auto-reply/reply.ts @@ -467,7 +467,7 @@ export async function getReplyFromConfig( const isFirstTurnInSession = isNewSession || !systemSent; const isGroupChat = sessionCtx.ChatType === "group"; const wasMentioned = ctx.WasMentioned === true; - const shouldEagerType = !isGroupChat || wasMentioned; + const shouldEagerType = (!isGroupChat || wasMentioned) && !opts?.isHeartbeat; const shouldInjectGroupIntro = Boolean( isGroupChat && (isFirstTurnInSession || sessionEntry?.groupActivationNeedsSystemIntro),