Ensure secureBackupRequired is enforced
This commit is contained in:
parent
e1c3f1ce08
commit
6edde6a6b9
|
@ -395,6 +395,7 @@ class SelfVerificationViewModel @AssistedInject constructor(
|
|||
if (state.isThisSessionVerified) {
|
||||
// we are the verified session, so just dismiss?
|
||||
// do we want to prompt confirm??
|
||||
_viewEvents.post(VerificationBottomSheetViewEvents.Dismiss)
|
||||
} else {
|
||||
// cancel the active request and go back?
|
||||
setState {
|
||||
|
|
|
@ -257,12 +257,7 @@ class HomeActivity :
|
|||
HomeActivityViewEvents.PromptToEnableSessionPush -> handlePromptToEnablePush()
|
||||
HomeActivityViewEvents.StartRecoverySetupFlow -> handleStartRecoverySetup()
|
||||
is HomeActivityViewEvents.ForceVerification -> {
|
||||
// TODO
|
||||
// if (it.sendRequest) {
|
||||
navigator.requestSelfSessionVerification(this)
|
||||
// } else {
|
||||
// navigator.waitSessionVerification(this)
|
||||
// }
|
||||
navigator.requestSelfSessionVerification(this)
|
||||
}
|
||||
is HomeActivityViewEvents.OnCrossSignedInvalidated -> handleCrossSigningInvalidated(it)
|
||||
HomeActivityViewEvents.ShowAnalyticsOptIn -> handleShowAnalyticsOptIn()
|
||||
|
@ -479,12 +474,7 @@ class HomeActivity :
|
|||
titleRes = R.string.crosssigning_verify_this_session,
|
||||
descRes = R.string.confirm_your_identity,
|
||||
) {
|
||||
// navigator.openSettings(this, SettingsActivityPayload.SecurityPrivacy)
|
||||
// if (event.waitForIncomingRequest) {
|
||||
// //it.navigator.waitSessionVerification(it)
|
||||
// } else {
|
||||
it.navigator.requestSelfSessionVerification(it)
|
||||
// }
|
||||
it.navigator.requestSelfSessionVerification(it)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue