A small fix in examples/dialogue_bot

This commit is contained in:
Temirkhan Myrzamadi 2020-05-26 16:12:53 +06:00
parent a6144d7a26
commit da1762039d

View file

@ -20,7 +20,7 @@ pub async fn receive_full_name(cx: In<ReceiveFullNameState>) -> Out {
cx.answer_str("What a wonderful name! Your age?").await?;
next(dialogue.up(full_name))
}
None => {
_ => {
cx.answer_str("Please, enter a text message!").await?;
next(dialogue)
}