mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 15:22:39 +00:00
Enable Rust Crypto for all users
This commit is contained in:
parent
9b2c7a613e
commit
f05c8d8ef3
3 changed files with 4 additions and 2 deletions
|
@ -52,7 +52,7 @@ import MatrixSDKCrypto
|
|||
|
||||
init(
|
||||
remoteFeature: RemoteFeaturesClientProtocol = PostHogAnalyticsClient.shared,
|
||||
localTargetPercentage: Double = 0.5
|
||||
localTargetPercentage: Double = 1
|
||||
) {
|
||||
self.remoteFeature = remoteFeature
|
||||
self.localFeature = PhasedRolloutFeature(
|
||||
|
|
|
@ -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)
|
||||
|
|
1
changelog.d/pr-7485.change
Normal file
1
changelog.d/pr-7485.change
Normal file
|
@ -0,0 +1 @@
|
|||
Crypto: Enable Rust Crypto for all users
|
Loading…
Reference in a new issue