rename invisible flag to onlySignedDeviceIsolation

This commit is contained in:
Valere 2024-09-25 23:02:01 +02:00
parent fdd0a0d4ea
commit 10014d3936
2 changed files with 4 additions and 4 deletions

View file

@ -101,7 +101,7 @@ class RustMatrixClientFactory @Inject constructor(
.autoEnableBackups(true)
.autoEnableCrossSigning(true)
.roomKeyRecipientStrategy(
strategy = if (featureFlagService.isFeatureEnabled(FeatureFlags.InvisibleCrypto)) {
strategy = if (featureFlagService.isFeatureEnabled(FeatureFlags.OnlySignedDeviceIsolationMode)) {
CollectStrategy.IdentityBasedStrategy
} else {
CollectStrategy.DeviceBasedStrategy(onlyAllowTrustedDevices = false, errorOnVerifiedUserProblem = true)