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

chore(base): refactor internal helpers related to media #4199

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

bnjbvr
Copy link
Member

@bnjbvr bnjbvr commented Oct 31, 2024

Notably, make it super clear what parameters are required to create the attachment type, since the function doesn't consume the whole AttachmentConfig for realz.

Part of #1732, blocks #4195.

@bnjbvr bnjbvr requested a review from a team as a code owner October 31, 2024 17:22
@bnjbvr bnjbvr requested review from Hywan and removed request for a team October 31, 2024 17:22
Copy link
Member

@Hywan Hywan left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks.

@bnjbvr bnjbvr enabled auto-merge (rebase) November 4, 2024 14:08
Notably, make it super clear what parameters are required to create the
attachment type, since the function doesn't consume the whole
`AttachmentConfig` for realz.
@bnjbvr bnjbvr force-pushed the bnjbvr/refactor-media-helpers branch from a2bf189 to bec007c Compare November 4, 2024 16:27
@bnjbvr bnjbvr merged commit 478dc0e into main Nov 4, 2024
39 checks passed
@bnjbvr bnjbvr deleted the bnjbvr/refactor-media-helpers branch November 4, 2024 16:44
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

Attention: Patch coverage is 70.58824% with 10 lines in your changes missing coverage. Please review.

Project coverage is 84.91%. Comparing base (6828f93) to head (bec007c).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
crates/matrix-sdk/src/room/mod.rs 76.92% 6 Missing ⚠️
crates/matrix-sdk/src/encryption/mod.rs 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4199      +/-   ##
==========================================
+ Coverage   84.87%   84.91%   +0.03%     
==========================================
  Files         272      272              
  Lines       29143    29148       +5     
==========================================
+ Hits        24736    24750      +14     
+ Misses       4407     4398       -9     

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

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