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

Add new methods to VerificationRequest #3441

Merged
merged 4 commits into from
Jun 7, 2023

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jun 2, 2023

I'm trying to pull out an interface from VerificationRequest, so that I can replace it with a Rust implementation without changes to the application (vector-im/crypto-internal#96).

Currently it exposes channel and qrCodeData which are entire objects of which only one or two fields are used. By adding more specific methods, we can reduce the amount of stuff that has to be implemented considerably.

Based on #3439


This change is marked as an internal change (Task), so will not be included in the changelog.

@richvdh richvdh added the T-Task Tasks for the team like planning label Jun 2, 2023
@richvdh richvdh force-pushed the rav/element-r/16_new_verificationrequest_methods branch from 6ac3762 to addaed6 Compare June 2, 2023 17:26
@richvdh richvdh changed the base branch from develop to rav/element-r/15.1_qrcode_integ_test June 2, 2023 17:29
@richvdh richvdh marked this pull request as ready for review June 5, 2023 15:49
@richvdh richvdh requested a review from a team as a code owner June 5, 2023 15:49
@richvdh richvdh requested review from germain-gg and kerryarchibald and removed request for a team June 5, 2023 15:49
Base automatically changed from rav/element-r/15.1_qrcode_integ_test to develop June 6, 2023 10:34
richvdh added 4 commits June 6, 2023 11:47
... which requires fewer complicated classes than the existing `qrCodeData`
... to save going via `.channel`
... to avoid the need for `channel`
Copy link
Contributor

@germain-gg germain-gg 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 to me

@richvdh richvdh added this pull request to the merge queue Jun 7, 2023
Merged via the queue into develop with commit c2942dd Jun 7, 2023
@richvdh richvdh deleted the rav/element-r/16_new_verificationrequest_methods branch June 7, 2023 13:35
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.

2 participants