fix: end conversation when a block have no matching outcomes

This commit is contained in:
hexastack 2025-04-03 12:30:41 +01:00
parent fd709ff6d4
commit e9e8eb2184

View File

@ -200,6 +200,7 @@ export class BotService {
'Block outcome did not match any of the next blocks',
convo,
);
this.eventEmitter.emit('hook:conversation:end', convo, false);
}
} else {
// Conversation continues : Go forward to next blocks