mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Bump the RustSDK to v26.10.13
This commit is contained in:
@@ -179,7 +179,7 @@ extension ClientProxyMock {
|
||||
|
||||
underlyingMaxMediaUploadSize = .success(configuration.maxMediaUploadSize)
|
||||
|
||||
storeSizesReturnValue = .success(.init(cryptoStore: 1, stateStore: 9, eventCacheStore: 8, mediaStore: 6))
|
||||
storeSizesReturnValue = .success(.init(cryptoStore: 1, stateStore: 9, eventCacheStore: 8, mediaStore: 6, searchIndex: 5))
|
||||
|
||||
configurePresenceSendImmediatelyReturnValue = .success(())
|
||||
}
|
||||
|
||||
+3
@@ -51,6 +51,9 @@ class DeveloperOptionsScreenViewModel: DeveloperOptionsScreenViewModelType, Deve
|
||||
if let mediaStore = sizes.mediaStore {
|
||||
components.append(.init(name: "MediaStore", size: formatter.format(Int64(mediaStore))))
|
||||
}
|
||||
if let searchIndex = sizes.searchIndex {
|
||||
components.append(.init(name: "SearchIndex", size: formatter.format(Int64(searchIndex))))
|
||||
}
|
||||
if let logsSize = try? FileManager.default.sizeForDirectory(at: .appGroupLogsDirectory) {
|
||||
components.append(.init(name: "Log Files", size: formatter.format(Int64(logsSize))))
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ nonisolated struct ClientFactory: ClientFactoryProtocol {
|
||||
.sqliteStore(config: .init(dataPath: sessionDirectories.dataPath, cachePath: sessionDirectories.cachePath)
|
||||
.highEntropyPassphrase(passphrase: passphrase, base64Variant: .padded))
|
||||
.withSearchIndexStore(path: sessionDirectories.dataPath,
|
||||
password: passphrase.base64EncodedString())
|
||||
key: passphrase.base64EncodedString())
|
||||
.serverNameOrHomeserverUrl(serverNameOrUrl: serverNameOrBaseURL)
|
||||
|
||||
return try await build(builder, for: .authentication, appHooks: appHooks)
|
||||
@@ -71,7 +71,7 @@ nonisolated struct ClientFactory: ClientFactoryProtocol {
|
||||
cachePath: credentials.restorationToken.sessionDirectories.cachePath)
|
||||
.highEntropyPassphrase(passphrase: credentials.restorationToken.passphrase, base64Variant: .padded))
|
||||
.withSearchIndexStore(path: credentials.restorationToken.sessionDirectories.dataPath,
|
||||
password: credentials.restorationToken.passphrase.base64EncodedString())
|
||||
key: credentials.restorationToken.passphrase.base64EncodedString())
|
||||
.homeserverUrl(url: homeserverURL)
|
||||
|
||||
return try await build(builder, for: .restoration(credentials.restorationToken.session, .all), appHooks: appHooks)
|
||||
|
||||
Reference in New Issue
Block a user