mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +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)
|
||||
.sqliteStore(config: .init(dataPath: sessionDirectories.dataPath, cachePath: sessionDirectories.cachePath)
|
||||
.highEntropyPassphrase(passphrase: passphrase, base64Variant: .padded))
|
||||
.withSearchIndexStore(path: sessionDirectories.dataPath,
|
||||
password: passphrase.base64EncodedString())
|
||||
.serverNameOrHomeserverUrl(serverNameOrUrl: serverNameOrBaseURL)
|
||||
|
||||
return try await build(builder, for: .authentication, appHooks: appHooks)
|
||||
|
||||
Reference in New Issue
Block a user