From 5e56bf3468b76add9de904274333eaa4bab107da Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Wed, 23 Sep 2026 17:52:13 +0300 Subject: [PATCH] Enable the search index store for the authentication client too --- ElementX/Sources/Services/Client/ClientFactory.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ElementX/Sources/Services/Client/ClientFactory.swift b/ElementX/Sources/Services/Client/ClientFactory.swift index 0160aff40..3d8548a24 100644 --- a/ElementX/Sources/Services/Client/ClientFactory.swift +++ b/ElementX/Sources/Services/Client/ClientFactory.swift @@ -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)