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: Add CryptoApi.findVerificationRequestDMInProgress #3601

Merged

Conversation

florianduros
Copy link
Contributor

@florianduros florianduros commented Jul 13, 2023

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)
  • In the first implementation, I processed the event in the EventDecryptor. However: OlmMachine::receiveVerificationEvent and OlmMachine::decryptRoomEvent don't have the same return type. And in the case of receiveVerificationEvent, we don't litterally decrypt the room event. So I added the processing of key verification request in onKeyVerificationRequest
  • Moved getSyncResponse to share it accross crypto.spec.ts and verification.spec.ts

After the PR merge, the react-sdk will be updated to provide the new userId parameter matrix-org/matrix-react-sdk#11292


Here's what your changelog entry will look like:

✨ Features

  • ElementR: Add CryptoApi.findVerificationRequestDMInProgress (#3601). Contributed by @florianduros.

@florianduros florianduros force-pushed the florianduros/element-r/findVerificationRequestDMInProgress branch from be22167 to b8045e2 Compare July 17, 2023 16:09
@florianduros florianduros marked this pull request as ready for review July 17, 2023 16:28
@florianduros florianduros requested a review from a team as a code owner July 17, 2023 16:28
spec/unit/rust-crypto/rust-crypto.spec.ts Outdated Show resolved Hide resolved
src/rust-crypto/rust-crypto.ts Outdated Show resolved Hide resolved
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

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

Looks sane

@t3chguy t3chguy dismissed richvdh’s stale review July 31, 2023 15:00

Addressed & unavailable

@florianduros florianduros added this pull request to the merge queue Jul 31, 2023
Merged via the queue into develop with commit 0ada980 Jul 31, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants