From b5d4c9c01a41645ba1eab19c7d0d1a51df0db25a Mon Sep 17 00:00:00 2001 From: Kegan Dougal <7190048+kegsay@users.noreply.github.com> Date: Tue, 3 Sep 2024 09:26:57 +0100 Subject: [PATCH] don't use a pointer to the enum --- internal/api/rust/rust.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/rust/rust.go b/internal/api/rust/rust.go index 7802f17..b085d22 100644 --- a/internal/api/rust/rust.go +++ b/internal/api/rust/rust.go @@ -67,7 +67,7 @@ func NewRustClient(t ct.TestLike, opts api.ClientCreationOpts) (api.Client, erro slidingSyncVersion := matrix_sdk_ffi.SlidingSyncVersionBuilderProxy{Url: opts.SlidingSyncURL} ab := matrix_sdk_ffi.NewClientBuilder(). HomeserverUrl(opts.BaseURL). - SlidingSyncVersionBuilder(&slidingSyncVersion). + SlidingSyncVersionBuilder(slidingSyncVersion). AutoEnableCrossSigning(true) var clientSessionDelegate matrix_sdk_ffi.ClientSessionDelegate if opts.EnableCrossProcessRefreshLockProcessName != "" {