Merge pull request #880 from Hexastack/fix/bot-hangs-up-when-the-last-block-has-outcomes-with-no-matching-next-block

fix: end conversation when a block have no matching outcomes
This commit is contained in:
Med Marrouchi 2025-04-03 15:32:27 +01:00 committed by GitHub
commit bd024b3dec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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