From 7b4c9c8d4c5d25e1e884090498bf481899b7e491 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Feb 2026 17:59:53 +0000 Subject: [PATCH] fix(carousel): re-habilitar biz node para carrossel (Pastorini confirma necessario) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comparação com Pastorini revelou que o biz node É NECESSÁRIO para carrossel. Pastorini injeta exatamente: Sem biz node = error 479. Com biz node = mensagem entregue. O erro 479 anterior era causado por messageContextInfo no viewOnceMessage, não pelo biz node em si. Estado atual: biz node (SIM) + viewOnceMessage sem messageContextInfo + bot node (NÃO para carousel/native_flow) https://claude.ai/code/session_01EK9NpViRCtda1WAvFd8ptR --- src/Socket/messages-send.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Socket/messages-send.ts b/src/Socket/messages-send.ts index 27eb41db..a77161f4 100644 --- a/src/Socket/messages-send.ts +++ b/src/Socket/messages-send.ts @@ -1225,7 +1225,7 @@ export const makeMessagesSocket = (config: SocketConfig) => { // EXPERIMENTAL: Try biz node injection for ALL interactive messages including catalog // Previously we skipped catalog messages but they weren't rendering properly - if (buttonType && enableInteractiveMessages && !isCarousel) { + if (buttonType && enableInteractiveMessages) { const startTime = Date.now() // Debug: Log message structure to diagnose list detection @@ -1384,12 +1384,6 @@ export const makeMessagesSocket = (config: SocketConfig) => { ) metrics.interactiveMessagesFailures.inc({ type: buttonType, reason: 'injection_failed' }) } - } else if (isCarousel && buttonType) { - logger.info( - { msgId, buttonType, to: destinationJid }, - '[EXPERIMENTAL] Skipping biz node injection for carousel message (not needed, causes error 479)' - ) - metrics.interactiveMessagesSent.inc({ type: 'carousel' }) } else if (buttonType && !enableInteractiveMessages) { logger.warn( { msgId, buttonType },