Skip to content

Commit

Permalink
Merge pull request #7485 from vector-im/andy/crypto_feature
Browse files Browse the repository at this point in the history
Enable Rust Crypto for all users
  • Loading branch information
Anderas authored Apr 11, 2023
2 parents 9b2c7a6 + f05c8d8 commit 0207a23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Riot/Experiments/CryptoSDKFeature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import MatrixSDKCrypto

init(
remoteFeature: RemoteFeaturesClientProtocol = PostHogAnalyticsClient.shared,
localTargetPercentage: Double = 0.5
localTargetPercentage: Double = 1
) {
self.remoteFeature = remoteFeature
self.localFeature = PhasedRolloutFeature(
Expand Down
3 changes: 2 additions & 1 deletion RiotTests/SessionCreatorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-7485.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Crypto: Enable Rust Crypto for all users

0 comments on commit 0207a23

Please sign in to comment.