File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,6 @@ class RustMatrixClientFactory @Inject constructor(
6060 .homeserverUrl(sessionData.homeserverUrl)
6161 .username(sessionData.userId)
6262 .setSessionDelegate(sessionDelegate)
63- .roomKeyRecipientStrategy(
64- strategy = CollectStrategy .DeviceBasedStrategy (false , true )
65- )
6663 .use { it.build() }
6764
6865 client.restoreSession(sessionData.toSession())
@@ -115,7 +112,7 @@ class RustMatrixClientFactory @Inject constructor(
115112 strategy = if (featureFlagService.isFeatureEnabled(FeatureFlags .InvisibleCrypto )) {
116113 CollectStrategy .IdentityBasedStrategy
117114 } else {
118- CollectStrategy .DeviceBasedStrategy (onlyAllowTrustedDevices = false , errorOnVerifiedUserProblem = false )
115+ CollectStrategy .DeviceBasedStrategy (onlyAllowTrustedDevices = false , errorOnVerifiedUserProblem = true )
119116 }
120117 )
121118 .run {
You can’t perform that action at this time.
0 commit comments