Skip to content

Use new SqliteSessionBuilder for go #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/api/rust/rust.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
// @alice:hs1, FOOBAR => alice_hs1_FOOBAR
username := strings.Replace(opts.UserID[1:], ":", "_", -1) + "_" + opts.DeviceID
sessionPath := "rust_storage/" + username
ab = ab.SessionPaths(sessionPath, sessionPath).Username(username)
ab = ab.SessionStoreSqlite(matrix_sdk_ffi.NewSqliteSessionStoreBuilder(sessionPath, sessionPath)).Username(username)

Check failure on line 99 in internal/api/rust/rust.go

View workflow job for this annotation

GitHub Actions / Tests

undefined: matrix_sdk_ffi.NewSqliteSessionStoreBuilder

Check failure on line 99 in internal/api/rust/rust.go

View workflow job for this annotation

GitHub Actions / Tests

ab.SessionStoreSqlite undefined (type *matrix_sdk_ffi.ClientBuilder has no field or method SessionStoreSqlite)

Check failure on line 99 in internal/api/rust/rust.go

View workflow job for this annotation

GitHub Actions / Tests (Rust only, latest) / tests

undefined: matrix_sdk_ffi.NewSqliteSessionStoreBuilder

Check failure on line 99 in internal/api/rust/rust.go

View workflow job for this annotation

GitHub Actions / Tests (Rust only, latest) / tests

ab.SessionStoreSqlite undefined (type *matrix_sdk_ffi.ClientBuilder has no field or method SessionStoreSqlite)
client, err := ab.Build()
if err != nil {
return nil, fmt.Errorf("ClientBuilder.Build failed: %s", err)
Expand Down
Loading