Skip to content
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

fix(rust): Matrix Rust SDK has dropped support for MSC3575 #164

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions internal/api/rust/rust.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
func NewRustClient(t ct.TestLike, opts api.ClientCreationOpts) (api.Client, error) {
t.Logf("NewRustClient[%s][%s] creating...", opts.UserID, opts.DeviceID)
matrix_sdk_ffi.LogEvent("rust.go", &zero, matrix_sdk_ffi.LogLevelInfo, t.Name(), fmt.Sprintf("NewRustClient[%s][%s] creating...", opts.UserID, opts.DeviceID))
slidingSyncVersion := matrix_sdk_ffi.SlidingSyncVersionBuilderNative{}
slidingSyncVersion := matrix_sdk_ffi.SlidingSyncVersionBuilderNative

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

View workflow job for this annotation

GitHub Actions / Tests

matrix_sdk_ffi.SlidingSyncVersionBuilderNative (type) is not an expression

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

View workflow job for this annotation

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

matrix_sdk_ffi.SlidingSyncVersionBuilderNative (type) is not an expression

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

View workflow job for this annotation

GitHub Actions / Tests

matrix_sdk_ffi.SlidingSyncVersionBuilderNative (type) is not an expression

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

View workflow job for this annotation

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

matrix_sdk_ffi.SlidingSyncVersionBuilderNative (type) is not an expression

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

View workflow job for this annotation

GitHub Actions / Tests

matrix_sdk_ffi.SlidingSyncVersionBuilderNative (type) is not an expression

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

View workflow job for this annotation

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

matrix_sdk_ffi.SlidingSyncVersionBuilderNative (type) is not an expression
clientSessionDelegate := NewMemoryClientSessionDelegate()
ab := matrix_sdk_ffi.NewClientBuilder().
HomeserverUrl(opts.BaseURL).
Expand Down Expand Up @@ -113,7 +113,7 @@
UserId: opts.UserID,
DeviceId: opts.DeviceID,
HomeserverUrl: opts.BaseURL,
SlidingSyncVersion: matrix_sdk_ffi.SlidingSyncVersionNative{},
SlidingSyncVersion: matrix_sdk_ffi.SlidingSyncVersionNative,

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

View workflow job for this annotation

GitHub Actions / Tests

matrix_sdk_ffi.SlidingSyncVersionNative (type) is not an expression

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

View workflow job for this annotation

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

matrix_sdk_ffi.SlidingSyncVersionNative (type) is not an expression

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

View workflow job for this annotation

GitHub Actions / Tests

matrix_sdk_ffi.SlidingSyncVersionNative (type) is not an expression

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

View workflow job for this annotation

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

matrix_sdk_ffi.SlidingSyncVersionNative (type) is not an expression

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

View workflow job for this annotation

GitHub Actions / Tests

matrix_sdk_ffi.SlidingSyncVersionNative (type) is not an expression

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

View workflow job for this annotation

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

matrix_sdk_ffi.SlidingSyncVersionNative (type) is not an expression
}
if err := client.RestoreSession(session); err != nil {
return nil, fmt.Errorf("RestoreSession: %s", err)
Expand Down
Loading