From 3aa64e9aa25b3f492259e6fd42fb4308b0f91717 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Wed, 21 Feb 2024 07:40:32 -0800 Subject: [PATCH] fix up the db path on init --- Sources/XMTPiOS/Client.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/XMTPiOS/Client.swift b/Sources/XMTPiOS/Client.swift index e4e42fa1..f74e6945 100644 --- a/Sources/XMTPiOS/Client.swift +++ b/Sources/XMTPiOS/Client.swift @@ -61,7 +61,8 @@ public struct ClientOptions { preEnableIdentityCallback: PreEventCallback? = nil, preCreateIdentityCallback: PreEventCallback? = nil, mlsAlpha: Bool = false, - mlsEncryptionKey: Data? = nil + mlsEncryptionKey: Data? = nil, + mlsDbPath: String? = nil ) { self.api = api self.codecs = codecs @@ -69,6 +70,7 @@ public struct ClientOptions { self.preCreateIdentityCallback = preCreateIdentityCallback self.mlsAlpha = mlsAlpha self.mlsEncryptionKey = mlsEncryptionKey + self.mlsDbPath = mlsDbPath } }