This commit is contained in:
notplants 2022-01-05 10:58:34 -05:00
parent 03da29e3f9
commit 22417e4d82
1 changed files with 1 additions and 4 deletions

View File

@ -333,10 +333,7 @@ impl Sbot {
}
// if we find a CancelStreamResponse
// this is the end of the stream
RecvMsg::CancelStreamRespose() => {
println!("found cancel stream");
break
},
RecvMsg::CancelStreamRespose() => break,
// if we find an unknown response, we just continue the loop
_ => {}
}