Skip to content

Commit bc9724a

Browse files
author
Josias Maceda
committed
fix: remove abort process when status is paused, allowing the chatbot return after the time expires and after being paused due to human interaction (stopBotFromMe)
1 parent c2085b5 commit bc9724a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/api/integrations/chatbot/base-chatbot.controller.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -878,13 +878,7 @@ export abstract class BaseChatbotController<BotType = any, BotData extends BaseC
878878
// Skip if session exists but not awaiting user input
879879
if (session && session.status === 'closed') {
880880
return;
881-
}
882-
883-
// Skip if session exists and status is paused
884-
if (session && session.status === 'paused') {
885-
this.logger.warn(`Session for ${remoteJid} is paused, skipping message processing`);
886-
return;
887-
}
881+
}
888882

889883
// Merged settings
890884
const mergedSettings = {

0 commit comments

Comments
 (0)