From 591b60d07d93e0cfb7477419433f0a0529a65426 Mon Sep 17 00:00:00 2001 From: Doug Date: Thu, 20 Aug 2026 14:56:37 +0100 Subject: [PATCH] Remove needless call to ClientBuilder::username. --- internal/api/rust/rust.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/api/rust/rust.go b/internal/api/rust/rust.go index f83ee0d..587269f 100644 --- a/internal/api/rust/rust.go +++ b/internal/api/rust/rust.go @@ -106,10 +106,9 @@ func NewRustClient(t ct.TestLike, opts api.ClientCreationOpts) (api.Client, erro t.Logf("setting cross process store locks holder name=%s", xprocessName) ab = ab.CrossProcessLockConfig(matrix_sdk_ffi.CrossProcessLockConfigMultiProcess { xprocessName }) } + // @alice:hs1, FOOBAR => alice_hs1_FOOBAR username := strings.Replace(opts.UserID[1:], ":", "_", -1) + "_" + opts.DeviceID - ab = ab.Username(username) - sessionPath := "rust_storage/" + username storeKey := []byte("my_secret_thirty-two_byte_string") ab = ab.SqliteStore(