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
commit 8619e320bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -901,12 +901,6 @@ export abstract class BaseChatbotController<BotType = any, BotData extends BaseC
return; 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 // Merged settings
const mergedSettings = { const mergedSettings = {
...settings, ...settings,