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

refactor(crypto)!: Remove unused OneTimeKey::Key and SessionCreationError::OneTimeKeyUnknown variants #4194

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

zecakeh
Copy link
Collaborator

@zecakeh zecakeh commented Oct 30, 2024

As discussed in #4171 (comment).

@zecakeh zecakeh requested review from a team as code owners October 30, 2024 15:11
@zecakeh zecakeh requested review from jmartinesp and richvdh and removed request for a team October 30, 2024 15:11
Copy link
Contributor

@poljar poljar 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, though the commit mentions that OneTimeKey::Signed was removed, no such variant exists and SignedKey certainly was not removed.

Copy link

codecov bot commented Oct 30, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 84.91%. Comparing base (71abbeb) to head (190fb3f).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...rates/matrix-sdk-crypto/src/types/one_time_keys.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4194      +/-   ##
==========================================
+ Coverage   84.89%   84.91%   +0.02%     
==========================================
  Files         272      272              
  Lines       29142    29131      -11     
==========================================
- Hits        24739    24738       -1     
+ Misses       4403     4393      -10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…onError::OneTimeKeyUnknown` variants

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh changed the title refactor(crypto)!: Remove unused OneTimeKey::Signed and SessionCreationError::OneTimeKeyUnknown variants refactor(crypto)!: Remove unused OneTimeKey::Key and SessionCreationError::OneTimeKeyUnknown variants Oct 30, 2024
@zecakeh
Copy link
Collaborator Author

zecakeh commented Oct 30, 2024

Oops, sorry about that. It's fixed now.

@poljar poljar enabled auto-merge (rebase) October 30, 2024 16:03
@poljar poljar merged commit 75683d2 into matrix-org:main Oct 30, 2024
39 checks passed
@zecakeh zecakeh deleted the rm-unsigned-otk branch October 30, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants