mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add a developer option for history sharing on invite
Adds a new developer flag, enabling our experimental support for MSC4268.
This commit is contained in:
committed by
Stefan Ceriu
parent
db3f9f4d26
commit
394eb008ab
@@ -16,6 +16,7 @@ extension ClientBuilder {
|
||||
sessionDelegate: ClientSessionDelegate,
|
||||
appHooks: AppHooks,
|
||||
enableOnlySignedDeviceIsolationMode: Bool,
|
||||
enableKeyShareOnInvite: Bool,
|
||||
requestTimeout: UInt64? = 30000,
|
||||
maxRequestRetryTime: UInt64? = nil) -> ClientBuilder {
|
||||
var builder = ClientBuilder()
|
||||
@@ -37,6 +38,7 @@ extension ClientBuilder {
|
||||
builder = builder
|
||||
.autoEnableCrossSigning(autoEnableCrossSigning: true)
|
||||
.backupDownloadStrategy(backupDownloadStrategy: .afterDecryptionFailure)
|
||||
.enableShareHistoryOnInvite(enableShareHistoryOnInvite: enableKeyShareOnInvite)
|
||||
.autoEnableBackups(autoEnableBackups: true)
|
||||
|
||||
if enableOnlySignedDeviceIsolationMode {
|
||||
|
||||
Reference in New Issue
Block a user