mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Enable the search index store for the authentication client too
This commit is contained in:
@@ -29,6 +29,8 @@ nonisolated struct ClientFactory: ClientFactoryProtocol {
|
|||||||
.enableAutomaticBackPagination(enableAutomaticBackPagination: true)
|
.enableAutomaticBackPagination(enableAutomaticBackPagination: true)
|
||||||
.sqliteStore(config: .init(dataPath: sessionDirectories.dataPath, cachePath: sessionDirectories.cachePath)
|
.sqliteStore(config: .init(dataPath: sessionDirectories.dataPath, cachePath: sessionDirectories.cachePath)
|
||||||
.highEntropyPassphrase(passphrase: passphrase, base64Variant: .padded))
|
.highEntropyPassphrase(passphrase: passphrase, base64Variant: .padded))
|
||||||
|
.withSearchIndexStore(path: sessionDirectories.dataPath,
|
||||||
|
password: passphrase.base64EncodedString())
|
||||||
.serverNameOrHomeserverUrl(serverNameOrUrl: serverNameOrBaseURL)
|
.serverNameOrHomeserverUrl(serverNameOrUrl: serverNameOrBaseURL)
|
||||||
|
|
||||||
return try await build(builder, for: .authentication, appHooks: appHooks)
|
return try await build(builder, for: .authentication, appHooks: appHooks)
|
||||||
|
|||||||
Reference in New Issue
Block a user