Skip to content

Commit

Permalink
Allow Replacing -> New with auto_promote = true
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Dec 12, 2024
1 parent 6a1bde5 commit 26e7d50
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions upstairs/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1057,13 +1057,7 @@ impl DownstairsClient {
C::Replaced,
N::Start { auto_promote: true }
)
| (
R::Replacing,
C::New,
N::Start {
auto_promote: false
}
)
| (R::Replacing, C::New, N::Start { .. })
| (R::NegotiationFailed(..), C::New, N::Start { .. })
)
}
Expand Down

0 comments on commit 26e7d50

Please sign in to comment.