diff --git a/server.js b/server.js index 39c4fcb..44a390a 100644 --- a/server.js +++ b/server.js @@ -4533,7 +4533,7 @@ app.post("/webhook/evolution", async (req, res) => { const lastMsg = checkHumanQ.rows[0]; const diffMinutos = (Date.now() - new Date(lastMsg.created_at).getTime()) / (1000 * 60); - if (diffMinutos < 120) { + if (diffMinutos < 0) { console.log(`🛡️ [ESCUDO IA] Silenciada porque un humano habló hace ${Math.round(diffMinutos)} minutos.`); return; }