mirror of
https://github.com/hexastack/hexabot
synced 2025-05-05 21:34:41 +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',
|
'Block outcome did not match any of the next blocks',
|
||||||
convo,
|
convo,
|
||||||
);
|
);
|
||||||
|
this.eventEmitter.emit('hook:conversation:end', convo, false);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Conversation continues : Go forward to next blocks
|
// Conversation continues : Go forward to next blocks
|
||||||
|
Loading…
Reference in New Issue
Block a user