make clippy happy

This commit is contained in:
B. Petersen
2021-06-24 11:16:30 +02:00
committed by bjoern
parent 7b9e54be56
commit 6b5ba35d5b

View File

@@ -202,12 +202,10 @@ async fn decode_openpgp(context: &Context, qr: &str) -> Lot {
} else {
LotState::QrWithdrawVerifyGroup
}
} else if lot.state == LotState::QrAskVerifyContact {
LotState::QrReviveVerifyContact
} else {
if lot.state == LotState::QrAskVerifyContact {
LotState::QrReviveVerifyContact
} else {
LotState::QrReviveVerifyGroup
}
LotState::QrReviveVerifyGroup
}
}
}