Enable Rust Crypto for all users

This commit is contained in:
Andy Uhnak 2023-04-11 12:03:24 +01:00
parent 9b2c7a613e
commit f05c8d8ef3
3 changed files with 4 additions and 2 deletions

View file

@ -52,7 +52,7 @@ import MatrixSDKCrypto
init(
remoteFeature: RemoteFeaturesClientProtocol = PostHogAnalyticsClient.shared,
localTargetPercentage: Double = 0.5
localTargetPercentage: Double = 1
) {
self.remoteFeature = remoteFeature
self.localFeature = PhasedRolloutFeature(

View file

@ -25,8 +25,9 @@ class SessionCreatorTests: XCTestCase {
let mockIS = "mock_identity_server"
let credentials = MXCredentials(homeServer: "mock_home_server",
userId: "mock_user_id",
userId: "@mock_user_id:localhost",
accessToken: "mock_access_token")
credentials.deviceId = "mock_device_id"
let client = MXRestClient(credentials: credentials)
client.identityServer = mockIS
let session = await sessionCreator.createSession(credentials: credentials, client: client, removeOtherAccounts: false)

View file

@ -0,0 +1 @@
Crypto: Enable Rust Crypto for all users