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

ElementR: mark everything in js-sdk that is no longer supported as deprecated #26919

Closed
richvdh opened this issue Jan 24, 2024 · 3 comments · Fixed by matrix-org/matrix-js-sdk#4389
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Task Tasks for the team like planning Z-Labs

Comments

@richvdh
Copy link
Member

richvdh commented Jan 24, 2024

There are quite a lot of methods in MatrixClient that will not work correctly with Element-R, and which have been replaced, but have yet to be marked as deprecated. Examples:

  • isEventSenderVerified
  • getEventSenderDeviceInfo
  • getOutgoingRoomKeyRequest
  • requestSecret

We should audit for places that use MatrixClient.crypto, and either deprecate them, or plan to fix them.

@richvdh richvdh added the A-Element-R Issues affecting the port of Element's crypto layer to Rust label Jan 24, 2024
@BillCarsonFr
Copy link
Member

There is this also sendSharedHistoryKeys

@BillCarsonFr
Copy link
Member

Quick not on requestSecret there is an API (since 3.5.0) on rust that allows to requestMissingSecrets. It's not an exact mapping but there might be a way to replace it.

@BillCarsonFr
Copy link
Member

Looks like there is a slash command called remakeolm that was available in legacy crypto. No effect in rust

https://github.com/matrix-org/matrix-react-sdk/blob/618462ba06d1d2f64fc589402198529dceae8fe2/src/SlashCommands.tsx#L761

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Task Tasks for the team like planning Z-Labs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants