diff --git a/ElementX/Sources/Other/Extensions/ClientBuilder.swift b/ElementX/Sources/Other/Extensions/ClientBuilder.swift index 957eb852d7..c5a7f2f35b 100644 --- a/ElementX/Sources/Other/Extensions/ClientBuilder.swift +++ b/ElementX/Sources/Other/Extensions/ClientBuilder.swift @@ -35,9 +35,13 @@ extension ClientBuilder { .autoEnableBackups(autoEnableBackups: true) if enableOnlySignedDeviceIsolationMode { - builder = builder.roomKeyRecipientStrategy(strategy: CollectStrategy.identityBasedStrategy) + builder = builder + .roomKeyRecipientStrategy(strategy: CollectStrategy.identityBasedStrategy) + .roomDecryptionTrustRequirement(trustRequirement: TrustRequirement.crossSignedOrLegacy) } else { - builder = builder.roomKeyRecipientStrategy(strategy: .deviceBasedStrategy(onlyAllowTrustedDevices: false, errorOnVerifiedUserProblem: true)) + builder = builder + .roomKeyRecipientStrategy(strategy: .deviceBasedStrategy(onlyAllowTrustedDevices: false, errorOnVerifiedUserProblem: true)) + .roomDecryptionTrustRequirement(trustRequirement: TrustRequirement.untrusted) } } diff --git a/ElementX/Sources/Screens/Settings/DeveloperOptionsScreen/View/DeveloperOptionsScreen.swift b/ElementX/Sources/Screens/Settings/DeveloperOptionsScreen/View/DeveloperOptionsScreen.swift index 683b0a1f1b..878efcb09e 100644 --- a/ElementX/Sources/Screens/Settings/DeveloperOptionsScreen/View/DeveloperOptionsScreen.swift +++ b/ElementX/Sources/Screens/Settings/DeveloperOptionsScreen/View/DeveloperOptionsScreen.swift @@ -53,7 +53,7 @@ struct DeveloperOptionsScreen: View { Section { Toggle(isOn: $context.enableOnlySignedDeviceIsolationMode) { - Text("Exclude not secure devices when sending/receiving messages") + Text("Exclude insecure devices when sending/receiving messages") Text("Requires app reboot") } } header: {