Disable key backup on common, and enable it for the app

This commit is contained in:
ismailgulek
2020-08-24 18:23:16 +03:00
parent 494471e49a
commit f5ae4f7cb2
2 changed files with 6 additions and 0 deletions

View File

@@ -36,6 +36,9 @@ class AppConfiguration: CommonConfiguration {
// Each room member will be considered as a potential contact.
MXKContactManager.shared().contactManagerMXRoomSource = MXKContactManagerMXRoomSource.all
// Enable key backup on app
MXSDKOptions.sharedInstance().enableKeyBackupWhenStartingMXCrypto = true
}

View File

@@ -67,6 +67,9 @@ class CommonConfiguration: NSObject, Configurable {
// Pass httpAdditionalHeaders to the SDK
sdkOptions.httpAdditionalHeaders = BuildSettings.httpAdditionalHeaders
// Disable key backup on common
sdkOptions.enableKeyBackupWhenStartingMXCrypto = false
}