Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Remove unused CryptoCallbacks implementations #12919

Merged
merged 4 commits into from
Aug 23, 2024

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Aug 23, 2024

Per matrix-org/matrix-js-sdk#4376, CryptoCallbacks.onSecretRequested and CryptoCallbacks.getDehydrationKey are no longer used. We may as well remove the code that writes to them.

Suggest review commit-by-commit

@richvdh richvdh added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Aug 23, 2024
This thing is unused with the rust crypto stack (which is lucky, because it
uses methods that only work with the legacy stack).
This callback is no longer used, so there is no need for an implementation.
This is no longer written to, so is redundant.
@richvdh richvdh force-pushed the rav/element-r/remove_old_crypto_callbacks branch from d7ca383 to e1f4c00 Compare August 23, 2024 10:47
As before: this hook is no longer used by the js-sdk, so writing to it is
pointless.
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@richvdh richvdh added this pull request to the merge queue Aug 23, 2024
Merged via the queue into develop with commit 5a9d7ba Aug 23, 2024
29 checks passed
@richvdh richvdh deleted the rav/element-r/remove_old_crypto_callbacks branch August 23, 2024 14:16
richvdh added a commit to matrix-org/matrix-react-sdk-module-api that referenced this pull request Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants