mirror of
https://github.com/hexastack/hexabot
synced 2025-05-04 21:11:16 +00:00
fix: end conversation when a block have no matching outcomes
This commit is contained in:
parent
fd709ff6d4
commit
e9e8eb2184
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user