mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Merge pull request #3542 from element-hq/feature/valere/rename_invisible_crypto_flag
rename invisible flag to onlySignedDeviceIsolation flag
This commit is contained in:
+3
-3
@@ -123,9 +123,9 @@ enum class FeatureFlags(
|
|||||||
defaultValue = { true },
|
defaultValue = { true },
|
||||||
isFinished = false,
|
isFinished = false,
|
||||||
),
|
),
|
||||||
InvisibleCrypto(
|
OnlySignedDeviceIsolationMode(
|
||||||
key = "feature.invisibleCrypto",
|
key = "feature.onlySignedDeviceIsolationMode",
|
||||||
title = "Invisible Crypto",
|
title = "Exclude not secure devices when sending/receiving messages",
|
||||||
description = "This setting controls how end-to-end encryption (E2E) keys are shared." +
|
description = "This setting controls how end-to-end encryption (E2E) keys are shared." +
|
||||||
" Enabling it will prevent the inclusion of devices that have not been explicitly verified by their owners." +
|
" Enabling it will prevent the inclusion of devices that have not been explicitly verified by their owners." +
|
||||||
" You'll have to stop and re-open the app manually for that setting to take effect.",
|
" You'll have to stop and re-open the app manually for that setting to take effect.",
|
||||||
|
|||||||
+1
-1
@@ -101,7 +101,7 @@ class RustMatrixClientFactory @Inject constructor(
|
|||||||
.autoEnableBackups(true)
|
.autoEnableBackups(true)
|
||||||
.autoEnableCrossSigning(true)
|
.autoEnableCrossSigning(true)
|
||||||
.roomKeyRecipientStrategy(
|
.roomKeyRecipientStrategy(
|
||||||
strategy = if (featureFlagService.isFeatureEnabled(FeatureFlags.InvisibleCrypto)) {
|
strategy = if (featureFlagService.isFeatureEnabled(FeatureFlags.OnlySignedDeviceIsolationMode)) {
|
||||||
CollectStrategy.IdentityBasedStrategy
|
CollectStrategy.IdentityBasedStrategy
|
||||||
} else {
|
} else {
|
||||||
CollectStrategy.DeviceBasedStrategy(onlyAllowTrustedDevices = false, errorOnVerifiedUserProblem = true)
|
CollectStrategy.DeviceBasedStrategy(onlyAllowTrustedDevices = false, errorOnVerifiedUserProblem = true)
|
||||||
|
|||||||
Reference in New Issue
Block a user