Enable the search index store for the authentication client too

This commit is contained in:
Stefan Ceriu
2026-09-23 17:52:13 +03:00
parent df3bdb992a
commit 5e56bf3468
@@ -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)