mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
Disable key backup on common, and enable it for the app
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user