Fix SVR fallback list.

This commit is contained in:
Greyson Parrelli
2024-10-17 09:55:49 -04:00
parent fac34f2aeb
commit 232b84635f

View File

@@ -100,8 +100,10 @@ object SvrRepository {
svr2 to { restoreMasterKeyPreRegistrationFromV2(svr2, credentials.svr2, userPin) }
)
} else {
listOf(svr2 to { restoreMasterKeyPreRegistrationFromV2(svr2, credentials.svr2, userPin) })
listOf(svr2Legacy to { restoreMasterKeyPreRegistrationFromV2(svr2Legacy, credentials.svr2, userPin) })
listOf(
svr2 to { restoreMasterKeyPreRegistrationFromV2(svr2, credentials.svr2, userPin) },
svr2Legacy to { restoreMasterKeyPreRegistrationFromV2(svr2Legacy, credentials.svr2, userPin) }
)
}
for ((implementation, operation) in operations) {