Bump the RustSDK to v26.10.13

This commit is contained in:
Stefan Ceriu
2026-10-13 18:39:09 +03:00
parent b31950789f
commit 95fc43f4fc
7 changed files with 40 additions and 37 deletions
+1 -1
View File
@@ -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(())
}
@@ -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)