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

Expose room_key_recipient_strategy through higher-level SDK crates #3864

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Aug 20, 2024

#3810 added a new option to the CollectStrategy used when collecting recipients for encrypted room keys. We need to expose that to applications via the FFI bindings.

Part of https://github.com/element-hq/element-internal/issues/614

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.

LGTM

... and use it when sharing a room key.
... and pass it into the constructed BaseClient.
... and pass it through to the underlying ClientBuilder.
@richvdh richvdh force-pushed the rav/expose_collect_strategy branch from 709d35e to 79e36ba Compare August 20, 2024 14:29
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 84.10%. Comparing base (668a267) to head (79e36ba).
Report is 5 commits behind head on main.

Files Patch % Lines
crates/matrix-sdk/src/client/builder.rs 57.14% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3864   +/-   ##
=======================================
  Coverage   84.09%   84.10%           
=======================================
  Files         261      261           
  Lines       27629    27638    +9     
=======================================
+ Hits        23235    23245   +10     
+ Misses       4394     4393    -1     

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

@richvdh richvdh marked this pull request as ready for review August 20, 2024 17:03
@richvdh richvdh requested review from a team as code owners August 20, 2024 17:03
@richvdh richvdh requested review from Hywan and BillCarsonFr and removed request for a team August 20, 2024 17:03
@richvdh richvdh enabled auto-merge (rebase) August 20, 2024 17:03
@richvdh richvdh merged commit a27ebaa into main Aug 20, 2024
77 checks passed
@richvdh richvdh deleted the rav/expose_collect_strategy branch August 20, 2024 17:22
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