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

Replace Matrix.getKeyBackupEnabled by MatrixClient.CryptoApi.getActiveSessionBackupVersion #28225

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

florianduros
Copy link
Member

@florianduros florianduros commented Oct 17, 2024

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • I have licensed the changes to Element by completing the Contributor License Agreement (CLA)

Task #26922

  • Matrix.getKeyBackupEnabled is synchronous and MatrixClient.CryptoApi.getActiveSessionBackupVersion si asynchronous. The component is fairly trivial and it was a good opportunity to migrate it to a functional component to handle easily the asynchronous.
  • The newVersionInfo props wasn't used in the component so I removed it.

@florianduros florianduros added the T-Task Tasks for the team like planning label Oct 17, 2024
@florianduros florianduros force-pushed the florianduros/rip-out-legacy-crypto/remove-keybackup-enabled branch from fc366de to 3c83dde Compare October 17, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant