Merge pull request #1928 from josiasmaceda/hotfix/chatbot-not-return-after-human

fix: allowing the chatbot return after the time expires and after human interaction (stopBotFromMe)
This commit is contained in:
Davidson Gomes
2025-09-09 14:33:20 -03:00
committed by GitHub

View File

@@ -901,12 +901,6 @@ export abstract class BaseChatbotController<BotType = any, BotData extends BaseC
return;
}
// Skip if session exists and status is paused
if (session && session.status === 'paused') {
this.logger.warn(`Session for ${remoteJid} is paused, skipping message processing`);
return;
}
// Merged settings
const mergedSettings = {
...settings,