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 Jan 6, 2025
1 parent 8a63f7b commit 58ed39e
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 58ed39e

Please sign in to comment.