mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-09 01:49:37 -06:00
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:
commit
8619e320bc
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user